WebCore:
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Apr 2006 04:32:26 +0000 (04:32 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Apr 2006 04:32:26 +0000 (04:32 +0000)
commitd5845f2f4b3ec15ff97bf5e73bb5c08d2a1d8918
tree7763055200a700c6478dd6ccb3a4e173d845ed52
parent85dd851c62b39c633009a2bba6e098228c28c225
WebCore:

        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: https://svn.webkit.org/repository/webkit/trunk@13989 268f45cc-cd09-0410-ab3c-d52691b4dbfc
18 files changed:
WebCore/ChangeLog
WebCore/WebCore.exp
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/bridge/mac/FrameMac.mm
WebCore/platform/mac/ClipboardMac.mm
WebCore/platform/mac/GraphicsContextMac.mm
WebCore/platform/mac/WebCoreSystemInterface.h [moved from WebCore/platform/mac/WebCoreGraphicsBridge.m with 65% similarity]
WebCore/platform/mac/WebCoreSystemInterface.mm [moved from WebCore/platform/mac/WebCoreGraphicsBridge.h with 74% similarity]
WebCore/rendering/RenderThemeMac.mm
WebKit/ChangeLog
WebKit/WebCoreSupport/WebGraphicsBridge.m [deleted file]
WebKit/WebCoreSupport/WebImageData.m
WebKit/WebCoreSupport/WebImageRenderer.m
WebKit/WebCoreSupport/WebSystemInterface.h [moved from WebKit/WebCoreSupport/WebGraphicsBridge.h with 86% similarity]
WebKit/WebCoreSupport/WebSystemInterface.m [new file with mode: 0644]
WebKit/WebCoreSupport/WebTextRenderer.m
WebKit/WebKit.xcodeproj/project.pbxproj
WebKit/WebView/WebFrameView.m