Skip to content
  • bolsinga@apple.com's avatar
    Add ENABLE(CONTEXT_MENUS) · 08a4e0b1
    bolsinga@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=29225
    
    Reviewed by David Kilzer.
    
    JavaScriptCore:
    
    * wtf/Platform.h:
    
    WebCore:
    
    No new tests. (No change in default behavior.)
    
    * DerivedSources.make: Use new WebCore.ContextMenus.exp file if ENABLE_CONTEXT_MENUS.
    * WebCore.base.exp: Move ContextMenu only exports to WebCore.ContextMenus.exp.
    * WebCore.xcodeproj/project.pbxproj: Add WebCore.ContextMenus.exp.
    * dom/Node.cpp: Use ENABLE(CONTEXT_MENUS) where applicable.
    (WebCore::Node::defaultEventHandler):
    * loader/EmptyClients.h: Ditto.
    * page/ContextMenuController.cpp: Wrap entire file in ENABLE(CONTEXT_MENUS).
    * page/EventHandler.cpp: Use ENABLE(CONTEXT_MENUS) where applicable.
    * page/EventHandler.h: Ditto.
    * page/Page.cpp: Ditto.
    (WebCore::Page::Page):
    * page/Page.h: Ditto.
    * page/mac/EventHandlerMac.mm: Ditto.
    * page/mac/WebCoreViewFactory.h: Ditto.
    * platform/ContextMenu.cpp: Wrap entire file in ENABLE(CONTEXT_MENUS).
    * platform/LocalizedStrings.h: Use ENABLE(CONTEXT_MENUS) where applicable.
    * platform/mac/ContextMenuItemMac.mm: Wrap entire file in ENABLE(CONTEXT_MENUS).
    * platform/mac/ContextMenuMac.mm: Ditto.
    * platform/mac/LocalizedStringsMac.mm: Use ENABLE(CONTEXT_MENUS) where applicable.
    * svg/graphics/SVGImage.cpp: Ditto.
    (WebCore::SVGImage::dataChanged):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48429 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    08a4e0b1