Title: [121773] trunk
Revision
121773
Author
[email protected]
Date
2012-07-03 08:53:31 -0700 (Tue, 03 Jul 2012)

Log Message

[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:

Modified Paths

Diff

Modified: trunk/ChangeLog (121772 => 121773)


--- trunk/ChangeLog	2012-07-03 15:48:38 UTC (rev 121772)
+++ trunk/ChangeLog	2012-07-03 15:53:31 UTC (rev 121773)
@@ -1,3 +1,12 @@
+2012-07-03  George Staikos  <[email protected]>
+
+        [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  <[email protected]>
 
         [GTK] Need to bump libsoup requirements (for `soup_cookie_jar_get_cookie_list`)

Modified: trunk/Source/WebKit/blackberry/ChangeLog (121772 => 121773)


--- trunk/Source/WebKit/blackberry/ChangeLog	2012-07-03 15:48:38 UTC (rev 121772)
+++ trunk/Source/WebKit/blackberry/ChangeLog	2012-07-03 15:53:31 UTC (rev 121773)
@@ -1,3 +1,16 @@
+2012-07-03  George Staikos  <[email protected]>
+
+        [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  <[email protected]>
 
         Web Inspector: WebInspector.TextViewer should be renamed WebInspector.TextEditor

Modified: trunk/Source/WebKit/blackberry/WebCoreSupport/ChromeClientBlackBerry.cpp (121772 => 121773)


--- trunk/Source/WebKit/blackberry/WebCoreSupport/ChromeClientBlackBerry.cpp	2012-07-03 15:48:38 UTC (rev 121772)
+++ trunk/Source/WebKit/blackberry/WebCoreSupport/ChromeClientBlackBerry.cpp	2012-07-03 15:53:31 UTC (rev 121773)
@@ -810,4 +810,10 @@
 }
 
 
+#if ENABLE(REGISTER_PROTOCOL_HANDLER)
+void ChromeClientBlackBerry::registerProtocolHandler(const WTF::String&, const WTF::String&, const WTF::String&, const WTF::String&)
+{
+}
+#endif
+
 } // namespace WebCore

Modified: trunk/Source/WebKit/blackberry/WebCoreSupport/ChromeClientBlackBerry.h (121772 => 121773)


--- trunk/Source/WebKit/blackberry/WebCoreSupport/ChromeClientBlackBerry.h	2012-07-03 15:48:38 UTC (rev 121772)
+++ trunk/Source/WebKit/blackberry/WebCoreSupport/ChromeClientBlackBerry.h	2012-07-03 15:53:31 UTC (rev 121773)
@@ -155,6 +155,10 @@
     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:

Modified: trunk/Source/cmake/OptionsBlackBerry.cmake (121772 => 121773)


--- trunk/Source/cmake/OptionsBlackBerry.cmake	2012-07-03 15:48:38 UTC (rev 121772)
+++ trunk/Source/cmake/OptionsBlackBerry.cmake	2012-07-03 15:53:31 UTC (rev 121773)
@@ -157,6 +157,7 @@
 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)

Modified: trunk/Tools/ChangeLog (121772 => 121773)


--- trunk/Tools/ChangeLog	2012-07-03 15:48:38 UTC (rev 121772)
+++ trunk/Tools/ChangeLog	2012-07-03 15:53:31 UTC (rev 121773)
@@ -1,3 +1,12 @@
+2012-07-03  George Staikos  <[email protected]>
+
+        [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  <[email protected]>
 
         [EFL] Add run API tests as a step on the build bots

Modified: trunk/Tools/Scripts/webkitperl/FeatureList.pm (121772 => 121773)


--- trunk/Tools/Scripts/webkitperl/FeatureList.pm	2012-07-03 15:48:38 UTC (rev 121772)
+++ trunk/Tools/Scripts/webkitperl/FeatureList.pm	2012-07-03 15:53:31 UTC (rev 121773)
@@ -319,7 +319,7 @@
       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 },
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to