Skip to content
  • darin's avatar
    WebCore: · 331b6de1
    darin authored
            Reviewed by Adele.
    
            - WebCore part of http://bugzilla.opendarwin.org/show_bug.cgi?id=8505
              eliminate WebCoreGraphics bridge, demonstrate new SystemInterface technique
    
            * platform/mac/WebCoreGraphicsBridge.h: Removed.
            * platform/mac/WebCoreGraphicsBridge.m: Removed.
            * platform/mac/WebCoreSystemInterface.h: Added.
            * platform/mac/WebCoreSystemInterface.mm: Added.
    
            * WebCore.exp: Add new SystemInterface globals, remove WebCoreGraphicsBridge.
    
            * WebCore.xcodeproj/project.pbxproj: Updated for removed and added files.
            Sorted files.
    
            * bridge/mac/FrameMac.mm: Removed unneeded include of WebCoreGraphicsBridge.h.
    
            * platform/mac/ClipboardMac.mm: (WebCore::ClipboardMac::setDragImage):
            Moved code from WebGraphicsBridge here, using WebCoreSystemInterface so we can
            call wkSetDragImage.
    
            * platform/mac/GraphicsContextMac.mm: (WebCore::GraphicsContext::drawFocusRing):
            Moved code from WebGraphicsBridge here, using WebCoreSystemInterface so we can
            call wkDrawFocusRing.
    
            * rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::paintTextField):
            Call wkDrawBezeledTextFieldCell from WebCoreSystemInterface instead of using
            WebGraphicsBridge to do the same thing.
    
    WebKit:
    
            Reviewed by Adele.
    
            - WebKit part of http://bugzilla.opendarwin.org/show_bug.cgi?id=8505
              eliminate WebCoreGraphics bridge, demonstrate new SystemInterface technique
    
            * WebCoreSupport/WebGraphicsBridge.h: Removed.
            * WebCoreSupport/WebGraphicsBridge.m: Removed.
            * WebCoreSupport/WebSystemInterface.h: Added.
            * WebCoreSupport/WebSystemInterface.m: Added.
    
            * WebKit.xcodeproj/project.pbxproj: Updated for removed and added files.
    
            * WebCoreSupport/WebImageData.m: Removed unneeded include of WebGraphicsBridge.h.
            * WebCoreSupport/WebImageRenderer.m: Ditto.
            * WebCoreSupport/WebTextRenderer.m: Ditto.
    
            * WebView/WebFrameView.m: (-[WebFrameView initWithFrame:]): Guarded all the one-time
            initialization inside a boolean, just in case some things take a little time. Added
            a call to InitWebCoreSystemInterface to the one-time initialization here. Later, we
            will need to add it in some other places if we call code that requires the use of
            WebCoreSystemInterface functions from anywhere that can be invoked before creations
            of the first WebFrameView, but for now there is no need.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13989 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    331b6de1