Skip to content
  • commit-queue@webkit.org's avatar
    Rename RegisterProtocolHandler API to NavigatorContentUtils · 30167703
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=94920
    
    Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-08-27
    Reviewed by Adam Barth.
    
    .:
    
    Modified configuration files so that they contain renamed NavigatorContentUtils-prefixed files.
    
    * Source/cmake/OptionsBlackBerry.cmake:
    * Source/cmake/OptionsEfl.cmake:
    * Source/cmake/WebKitFeatures.cmake:
    * Source/cmakeconfig.h.cmake:
    
    Source/JavaScriptCore:
    
    ENABLE_REGISTER_PROTOCOL_HANDLER is renamed to ENABLE_NAVIGATOR_CONTENT_UTILS.
    
    * Configurations/FeatureDefines.xcconfig:
    
    Source/WebCore:
    
    Renaming whatever RegisterProtocolHandler-prefixed to NavigatorContentUtils-prefixed.
    Module 'protocolhandler' is renamed to 'navigatorcontentutils'.
    
    No new tests as there is no new functionality.
    
    * CMakeLists.txt:
    * Configurations/FeatureDefines.xcconfig:
    * GNUmakefile.am:
    * GNUmakefile.features.am:
    * GNUmakefile.list.am:
    * Modules/navigatorcontentutils/NavigatorContentUtils.cpp: Renamed from Source/WebCore/Modules/protocolhandler/NavigatorRegisterProtocolHandler.cpp.
    (WebCore):
    (WebCore::initProtocolHandlerWhitelist):
    (WebCore::verifyCustomHandlerURL):
    (WebCore::isProtocolWhitelisted):
    (WebCore::verifyProtocolHandlerScheme):
    (WebCore::NavigatorContentUtils::from):
    (WebCore::NavigatorContentUtils::~NavigatorContentUtils):
    (WebCore::NavigatorContentUtils::create):
    (WebCore::NavigatorContentUtils::registerProtocolHandler):
    (WebCore::customHandlersStateString):
    (WebCore::NavigatorContentUtils::isProtocolHandlerRegistered):
    (WebCore::NavigatorContentUtils::unregisterProtocolHandler):
    (WebCore::NavigatorContentUtils::supplementName):
    (WebCore::provideNavigatorContentUtilsTo):
    * Modules/navigatorcontentutils/NavigatorContentUtils.h: Renamed from Source/WebCore/Modules/protocolhandler/NavigatorRegisterProtocolHandler.h.
    (WebCore):
    (NavigatorContentUtils):
    (WebCore::NavigatorContentUtils::NavigatorContentUtils):
    (WebCore::NavigatorContentUtils::client):
    * Modules/navigatorcontentutils/NavigatorContentUtils.idl: Renamed from Source/WebCore/Modules/protocolhandler/NavigatorRegisterProtocolHandler.idl.
    * Modules/navigatorcontentutils/NavigatorContentUtilsClient.h: Renamed from Source/WebCore/Modules/protocolhandler/RegisterProtocolHandlerClient.h.
    (WebCore):
    (NavigatorContentUtilsClient):
    (WebCore::NavigatorContentUtilsClient::~NavigatorContentUtilsClient):
    * Target.pri:
    * WebCore.gyp/WebCore.gyp:
    * WebCore.gypi:
    * WebCore.pri:
    * WebCore.vcproj/WebCore.vcproj:
    * WebCore.vcproj/WebCoreCommon.vsprops:
    * WebCore.vcproj/copyForwardingHeaders.cmd:
    
    Source/WebKit:
    
    Modified PlatformEfl.cmake so that it includes the renamed files.
    
    * PlatformEfl.cmake:
    
    Source/WebKit/blackberry:
    
    Renaming whatever RegisterProtocolHandler-prefixed to NavigatorContentUtils-prefixed.
    
    * WebCoreSupport/AboutDataEnableFeatures.in:
    * WebCoreSupport/ChromeClientBlackBerry.cpp:
    (WebCore):
    (WebCore::ChromeClientBlackBerry::registerProtocolHandler):
    * WebCoreSupport/ChromeClientBlackBerry.h:
    (ChromeClientBlackBerry):
    
    Source/WebKit/chromium:
    
    Renaming whatever RegisterProtocolHandler-prefixed to NavigatorContentUtils-prefixed.
    RegisterProtocolHandlerClientImpl is renamed to NavigatorContentUtilsClientImpl.
    
    * features.gypi:
    * src/ChromeClientImpl.cpp:
    (WebKit):
    (WebKit::NavigatorContentUtilsClientImpl::create):
    (WebKit::NavigatorContentUtilsClientImpl::NavigatorContentUtilsClientImpl):
    (WebKit::NavigatorContentUtilsClientImpl::registerProtocolHandler):
    * src/ChromeClientImpl.h:
    (NavigatorContentUtilsClientImpl):
    (WebKit::NavigatorContentUtilsClientImpl::~NavigatorContentUtilsClientImpl):
    * src/WebViewImpl.cpp:
    (WebKit::WebViewImpl::WebViewImpl):
    * src/WebViewImpl.h:
    
    Source/WebKit/efl:
    
    Renaming whatever RegisterProtocolHandler-prefixed to NavigatorContentUtils-prefixed.
    RegisterProtocolHandlerClientEfl is renamed to NavigatorContentUtilsClientEfl.
    
    * WebCoreSupport/NavigatorContentUtilsClientEfl.cpp: Renamed from Source/WebKit/efl/WebCoreSupport/RegisterProtocolHandlerClientEfl.cpp.
    (WebCore):
    (WebCore::customHandlerDataCreate):
    (WebCore::customHandlerDataDelete):
    (WebCore::NavigatorContentUtilsClientEfl::create):
    (WebCore::NavigatorContentUtilsClientEfl::NavigatorContentUtilsClientEfl):
    (WebCore::NavigatorContentUtilsClientEfl::registerProtocolHandler):
    (WebCore::NavigatorContentUtilsClientEfl::isProtocolHandlerRegistered):
    (WebCore::NavigatorContentUtilsClientEfl::unregisterProtocolHandler):
    * WebCoreSupport/NavigatorContentUtilsClientEfl.h: Renamed from Source/WebKit/efl/WebCoreSupport/RegisterProtocolHandlerClientEfl.h.
    (NavigatorContentUtilsClientEfl):
    (WebCore::NavigatorContentUtilsClientEfl::~NavigatorContentUtilsClientEfl):
    * ewk/ewk_custom_handler.cpp:
    * ewk/ewk_custom_handler_private.h:
    * ewk/ewk_view.cpp:
    (_Ewk_View_Private_Data):
    (_ewk_view_priv_new):
    
    Source/WebKit/gtk:
    
    Renaming whatever RegisterProtocolHandler-prefixed to NavigatorContentUtils-prefixed.
    RegisterProtocolHandlerClientGtk is renamed to NavigatorContentUtilsClientGtk.
    
    * GNUmakefile.am:
    * WebCoreSupport/NavigatorContentUtilsClientGtk.cpp: Renamed from Source/WebKit/gtk/WebCoreSupport/RegisterProtocolHandlerClientGtk.cpp.
    (WebKit):
    (WebKit::NavigatorContentUtilsClient::create):
    (WebKit::NavigatorContentUtilsClient::NavigatorContentUtilsClient):
    (WebKit::NavigatorContentUtilsClient::registerProtocolHandler):
    * WebCoreSupport/NavigatorContentUtilsClientGtk.h: Renamed from Source/WebKit/gtk/WebCoreSupport/RegisterProtocolHandlerClientGtk.h.
    (WebKit):
    (NavigatorContentUtilsClient):
    (WebKit::NavigatorContentUtilsClient::~NavigatorContentUtilsClient):
    * webkit/webkitwebview.cpp:
    (webkit_web_view_init):
    * webkit/webkitwebviewprivate.h:
    
    Source/WebKit/mac:
    
    ENABLE_REGISTER_PROTOCOL_HANDLER is renamed to ENABLE_NAVIGATOR_CONTENT_UTILS.
    
    * Configurations/FeatureDefines.xcconfig:
    
    Source/WebKit2:
    
    Renaming whatever RegisterProtocolHandler-prefixed to NavigatorContentUtils-prefixed.
    
    * Configurations/FeatureDefines.xcconfig:
    * WebProcess/WebCoreSupport/WebNavigatorContentUtilsClient.h: Renamed from Source/WebKit2/WebProcess/WebCoreSupport/WebRegisterProtocolHandlerClient.h.
    (WebKit):
    (WebNavigatorContentUtilsClient):
    (WebKit::WebNavigatorContentUtilsClient::~WebNavigatorContentUtilsClient):
    (WebKit::WebNavigatorContentUtilsClient::isProtocolHandlerRegistered):
    (WebKit::WebNavigatorContentUtilsClient::unregisterProtocolHandler):
    
    Tools:
    
    Renamed 'register-protocol-handler' feature to 'navigator-content-utils'.
    
    * Scripts/webkitperl/FeatureList.pm:
    * qmake/mkspecs/features/features.pri:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126735 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    30167703