From: staikos@webkit.org Date: Tue, 3 Jul 2012 15:53:31 +0000 (+0000) Subject: [BlackBerry] Enable RegisterProtocolHandler for BlackBerry. X-Git-Tag: 070512121124~123 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a898b4040576e6bdbc2ef6846b874b3b9ec45f3;p=profile%2Fivi%2Fwebkit-efl.git [BlackBerry] Enable RegisterProtocolHandler for BlackBerry. https://bugs.webkit.org/show_bug.cgi?id=90422 Reviewed by Rob Buis. .: * Source/cmake/OptionsBlackBerry.cmake: Source/WebKit/blackberry: * WebCoreSupport/ChromeClientBlackBerry.cpp: (WebCore): (WebCore::ChromeClientBlackBerry::registerProtocolHandler): * WebCoreSupport/ChromeClientBlackBerry.h: (ChromeClientBlackBerry): Tools: * Scripts/webkitperl/FeatureList.pm: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121773 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- diff --git a/ChangeLog b/ChangeLog index 4c90fda..47741e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2012-07-03 George Staikos + + [BlackBerry] Enable RegisterProtocolHandler for BlackBerry. + https://bugs.webkit.org/show_bug.cgi?id=90422 + + Reviewed by Rob Buis. + + * Source/cmake/OptionsBlackBerry.cmake: + 2012-07-03 Priit Laes [GTK] Need to bump libsoup requirements (for `soup_cookie_jar_get_cookie_list`) diff --git a/Source/WebKit/blackberry/ChangeLog b/Source/WebKit/blackberry/ChangeLog index 4bcc456..f02b2eb 100644 --- a/Source/WebKit/blackberry/ChangeLog +++ b/Source/WebKit/blackberry/ChangeLog @@ -1,3 +1,16 @@ +2012-07-03 George Staikos + + [BlackBerry] Enable RegisterProtocolHandler for BlackBerry. + https://bugs.webkit.org/show_bug.cgi?id=90422 + + Reviewed by Rob Buis. + + * WebCoreSupport/ChromeClientBlackBerry.cpp: + (WebCore): + (WebCore::ChromeClientBlackBerry::registerProtocolHandler): + * WebCoreSupport/ChromeClientBlackBerry.h: + (ChromeClientBlackBerry): + 2012-07-03 Jan Keromnes Web Inspector: WebInspector.TextViewer should be renamed WebInspector.TextEditor diff --git a/Source/WebKit/blackberry/WebCoreSupport/ChromeClientBlackBerry.cpp b/Source/WebKit/blackberry/WebCoreSupport/ChromeClientBlackBerry.cpp index 6f197c8..924f757 100644 --- a/Source/WebKit/blackberry/WebCoreSupport/ChromeClientBlackBerry.cpp +++ b/Source/WebKit/blackberry/WebCoreSupport/ChromeClientBlackBerry.cpp @@ -810,4 +810,10 @@ PassOwnPtr ChromeClientBlackBerry::createColorChooser(ColorChooser } +#if ENABLE(REGISTER_PROTOCOL_HANDLER) +void ChromeClientBlackBerry::registerProtocolHandler(const WTF::String&, const WTF::String&, const WTF::String&, const WTF::String&) +{ +} +#endif + } // namespace WebCore diff --git a/Source/WebKit/blackberry/WebCoreSupport/ChromeClientBlackBerry.h b/Source/WebKit/blackberry/WebCoreSupport/ChromeClientBlackBerry.h index a8e0fb6..a7ff88a 100644 --- a/Source/WebKit/blackberry/WebCoreSupport/ChromeClientBlackBerry.h +++ b/Source/WebKit/blackberry/WebCoreSupport/ChromeClientBlackBerry.h @@ -155,6 +155,10 @@ public: virtual bool allowsAcceleratedCompositing() const; #endif +#if ENABLE(REGISTER_PROTOCOL_HANDLER) + virtual void registerProtocolHandler(const WTF::String&, const WTF::String&, const WTF::String&, const WTF::String&); +#endif + BlackBerry::WebKit::WebPagePrivate* webPagePrivate() const { return m_webPagePrivate; } private: diff --git a/Source/cmake/OptionsBlackBerry.cmake b/Source/cmake/OptionsBlackBerry.cmake index 872ae52..61f10c1 100644 --- a/Source/cmake/OptionsBlackBerry.cmake +++ b/Source/cmake/OptionsBlackBerry.cmake @@ -157,6 +157,7 @@ WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_NOTIFICATIONS ON) WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_ORIENTATION_EVENTS ON) WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_PAGE_POPUP ON) WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_PAGE_VISIBILITY_API ON) +WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_REGISTER_PROTOCOL_HANDLER ON) WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_REPAINT_THROTTLING ON) WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_REQUEST_ANIMATION_FRAME ON) WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SHARED_WORKERS ON) diff --git a/Tools/ChangeLog b/Tools/ChangeLog index 1873bae..7015ea0 100644 --- a/Tools/ChangeLog +++ b/Tools/ChangeLog @@ -1,3 +1,12 @@ +2012-07-03 George Staikos + + [BlackBerry] Enable RegisterProtocolHandler for BlackBerry. + https://bugs.webkit.org/show_bug.cgi?id=90422 + + Reviewed by Rob Buis. + + * Scripts/webkitperl/FeatureList.pm: + 2012-07-03 Thiago Marcos P. Santos [EFL] Add run API tests as a step on the build bots diff --git a/Tools/Scripts/webkitperl/FeatureList.pm b/Tools/Scripts/webkitperl/FeatureList.pm index 7df3563..7d191f5 100644 --- a/Tools/Scripts/webkitperl/FeatureList.pm +++ b/Tools/Scripts/webkitperl/FeatureList.pm @@ -319,7 +319,7 @@ my @features = ( define => "ENABLE_QUOTA", default => 0, value => \$quotaSupport }, { option => "register-protocol-handler", desc => "Toggle Register Protocol Handler support", - define => "ENABLE_REGISTER_PROTOCOL_HANDLER", default => isEfl(), value => \$registerProtocolHandlerSupport }, + define => "ENABLE_REGISTER_PROTOCOL_HANDLER", default => (isBlackBerry() || isEfl()), value => \$registerProtocolHandlerSupport }, { option => "request-animation-frame", desc => "Toggle Request Animation Frame support", define => "ENABLE_REQUEST_ANIMATION_FRAME", default => (isAppleMacWebKit() || isGtk() || isEfl() || isBlackBerry()), value => \$requestAnimationFrameSupport },