Title: [120498] trunk/Source/WebKit2
Revision
120498
Author
[email protected]
Date
2012-06-15 15:02:19 -0700 (Fri, 15 Jun 2012)

Log Message

[WK2] Add support for explicit intents
https://bugs.webkit.org/show_bug.cgi?id=89206

Patch by Christophe Dumez <[email protected]> on 2012-06-15
Reviewed by Kenneth Rohde Christiansen.

Expose the service URL of a Web Intent. This URL
is set for explicit intents.

* Shared/IntentData.h:
(IntentData):
* UIProcess/WebIntentData.h:
(WebKit::WebIntentData::service):
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchIntent):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (120497 => 120498)


--- trunk/Source/WebKit2/ChangeLog	2012-06-15 22:00:28 UTC (rev 120497)
+++ trunk/Source/WebKit2/ChangeLog	2012-06-15 22:02:19 UTC (rev 120498)
@@ -1,5 +1,22 @@
 2012-06-15  Christophe Dumez  <[email protected]>
 
+        [WK2] Add support for explicit intents
+        https://bugs.webkit.org/show_bug.cgi?id=89206
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        Expose the service URL of a Web Intent. This URL
+        is set for explicit intents.
+
+        * Shared/IntentData.h:
+        (IntentData):
+        * UIProcess/WebIntentData.h:
+        (WebKit::WebIntentData::service):
+        * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+        (WebKit::WebFrameLoaderClient::dispatchIntent):
+
+2012-06-15  Christophe Dumez  <[email protected]>
+
         [EFL][WK2] Add title support to Ewk_View
         https://bugs.webkit.org/show_bug.cgi?id=89095
 

Modified: trunk/Source/WebKit2/Shared/IntentData.h (120497 => 120498)


--- trunk/Source/WebKit2/Shared/IntentData.h	2012-06-15 22:00:28 UTC (rev 120497)
+++ trunk/Source/WebKit2/Shared/IntentData.h	2012-06-15 22:02:19 UTC (rev 120498)
@@ -45,6 +45,7 @@
 
     String action;
     String type;
+    WebCore::KURL service;
     Vector<uint8_t> data;
     HashMap<String, String> extras;
     Vector<WebCore::KURL> suggestions;

Modified: trunk/Source/WebKit2/UIProcess/WebIntentData.h (120497 => 120498)


--- trunk/Source/WebKit2/UIProcess/WebIntentData.h	2012-06-15 22:00:28 UTC (rev 120497)
+++ trunk/Source/WebKit2/UIProcess/WebIntentData.h	2012-06-15 22:02:19 UTC (rev 120498)
@@ -48,6 +48,7 @@
 
     const String& action() const { return m_store.action; }
     const String& payloadType() const { return m_store.type; }
+    const WebCore::KURL& service() const { return m_store.service; }
     PassRefPtr<WebSerializedScriptValue> data() const;
     const HashMap<String, String>& extras() const { return m_store.extras; }
     const Vector<WebCore::KURL>& suggestions() const { return m_store.suggestions; }

Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp (120497 => 120498)


--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp	2012-06-15 22:00:28 UTC (rev 120497)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp	2012-06-15 22:02:19 UTC (rev 120498)
@@ -1553,6 +1553,7 @@
     ASSERT(coreIntent);
     intentData.action = ""
     intentData.type = coreIntent->type();
+    intentData.service = coreIntent->service();
     intentData.data = ""
     intentData.extras = coreIntent->extras();
     intentData.suggestions = coreIntent->suggestions();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to