Skip to content
  • bolsinga@apple.com's avatar
    Add ENABLE(DRAG_SUPPORT) · 5db11076
    bolsinga@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=29233
    
    Reviewed by David Kilzer.
    
    JavaScriptCore:
    
    * wtf/Platform.h:
    
    WebCore:
    
    No new tests. (No change in default behavior.)
    
    * DerivedSources.make: Use new WebCore.DragSupport.exp file if ENABLE_DRAG_SUPPORT.
    * WebCore.base.exp: Move Drag Support only exports to WebCore.DragSupport.exp.
    * WebCore.xcodeproj/project.pbxproj: Add WebCore.DragSupport.exp.
    * dom/Clipboard.h: Use ENABLE(DRAG_SUPPORT) where applicable.
    * loader/EmptyClients.h: Ditto.
    * page/DragController.cpp: Wrap entire file in ENABLE(DRAG_SUPPORT).
    * page/EventHandler.cpp: Use ENABLE(DRAG_SUPPORT) where applicable.
    (WebCore::EventHandler::EventHandler):
    (WebCore::EventHandler::clear):
    (WebCore::EventHandler::handleMousePressEvent):
    (WebCore::EventHandler::handleMouseReleaseEvent):
    (WebCore::EventHandler::handleMouseMoveEvent):
    * page/EventHandler.h: Ditto.
    * page/Page.cpp: Ditto.
    (WebCore::Page::Page):
    * page/Page.h: Ditto.
    * page/mac/DragControllerMac.mm: Wrap entire file in ENABLE(DRAG_SUPPORT).
    * page/mac/EventHandlerMac.mm: Use ENABLE(DRAG_SUPPORT) where applicable.
    (WebCore::EventHandler::passSubframeEventToSubframe):
    * platform/DragData.cpp: Wrap entire file in ENABLE(DRAG_SUPPORT).
    * platform/DragImage.cpp: Wrap entire file in ENABLE(DRAG_SUPPORT).
    * platform/mac/ClipboardMac.h: Use ENABLE(DRAG_SUPPORT) where applicable.
    * platform/mac/ClipboardMac.mm: Ditto.
    * platform/mac/DragDataMac.mm: Wrap entire file in ENABLE(DRAG_SUPPORT).
    * platform/mac/DragImageMac.mm: Wrap entire file in ENABLE(DRAG_SUPPORT).
    * rendering/RenderLayer.cpp: Use ENABLE(DRAG_SUPPORT) where applicable.
    (WebCore::RenderLayer::autoscroll):
    * rendering/RenderObject.cpp: Ditto.
    * rendering/RenderObject.h: Ditto.
    * svg/graphics/SVGImage.cpp: Ditto.
    (WebCore::SVGImage::dataChanged):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48426 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    5db11076