-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=99022 Patch by Chris Guan <chris.guan@torchmobile.com.cn> on 2012-10-11 Reviewed by Rob Buis. Source/WebKit: Because r126735 renamed RegisterProtocolHandler API to NavigatorContentUtils, So we need add Modules/navigatorcontentutils into WebKit_INCLUDE_DIRECTORIES. * PlatformBlackBerry.cmake: Source/WebKit/blackberry: Because r126735 renamed RegisterProtocolHandler API to NavigatorContentUtils and r122810 added RegisterProtocolHandlerClient to the Modules/protocolhandler, we need sync up code: 1. Add NavigatorContentUtilsClientBlackBerry class. 2. use new API provideNavigatorContentUtilsTo. No new tests. Covered by existing tests. * Api/WebPage.cpp: (BlackBerry::WebKit::WebPagePrivate::init): * WebCoreSupport/NavigatorContentUtilsClientBlackBerry.cpp: Added. (WebCore): (WebCore::NavigatorContentUtilsClientBlackBerry::NavigatorContentUtilsClientBlackBerry): (WebCore::NavigatorContentUtilsClientBlackBerry::registerProtocolHandler): (WebCore::NavigatorContentUtilsClientBlackBerry::isProtocolHandlerRegistered): (WebCore::NavigatorContentUtilsClientBlackBerry::unregisterProtocolHandler): * WebCoreSupport/NavigatorContentUtilsClientBlackBerry.h: Added. (WebKit): (NavigatorContentUtilsClientBlackBerry): (WebCore::NavigatorContentUtilsClientBlackBerry::~NavigatorContentUtilsClientBlackBerry): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131056 268f45cc-cd09-0410-ab3c-d52691b4dbfc
4223f0bc