Title: [190693] trunk/Source/WebKit2
Revision
190693
Author
[email protected]
Date
2015-10-07 15:56:21 -0700 (Wed, 07 Oct 2015)

Log Message

Add API for getting a group identifier from a bundle page
https://bugs.webkit.org/show_bug.cgi?id=149902

Reviewed by Tim Horton.

* WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
(WKBundlePageCopyGroupIdentifier):
* WebProcess/InjectedBundle/API/c/WKBundlePage.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (190692 => 190693)


--- trunk/Source/WebKit2/ChangeLog	2015-10-07 22:09:04 UTC (rev 190692)
+++ trunk/Source/WebKit2/ChangeLog	2015-10-07 22:56:21 UTC (rev 190693)
@@ -1,3 +1,14 @@
+2015-10-07  Anders Carlsson  <[email protected]>
+
+        Add API for getting a group identifier from a bundle page
+        https://bugs.webkit.org/show_bug.cgi?id=149902
+
+        Reviewed by Tim Horton.
+
+        * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
+        (WKBundlePageCopyGroupIdentifier):
+        * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
+
 2015-10-07  Csaba Osztrogonác  <[email protected]>
 
         URTBF after r190678 to fix GTK and EFL builds.

Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.cpp (190692 => 190693)


--- trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.cpp	2015-10-07 22:09:04 UTC (rev 190692)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.cpp	2015-10-07 22:56:21 UTC (rev 190693)
@@ -630,3 +630,8 @@
 {
     toImpl(pageRef)->removeAllUserContent();
 }
+
+WKStringRef WKBundlePageCopyGroupIdentifier(WKBundlePageRef pageRef)
+{
+    return toCopiedAPI(toImpl(pageRef)->pageGroup()->identifier());
+}

Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.h (190692 => 190693)


--- trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.h	2015-10-07 22:09:04 UTC (rev 190692)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.h	2015-10-07 22:56:21 UTC (rev 190693)
@@ -109,8 +109,10 @@
 
 WK_EXPORT bool WKBundlePageIsUsingEphemeralSession(WKBundlePageRef page);
 
-WK_EXPORT void WKBundlePageStartMonitoringScrollOperations(WKBundlePageRef);
+WK_EXPORT void WKBundlePageStartMonitoringScrollOperations(WKBundlePageRef page);
 
+WK_EXPORT WKStringRef WKBundlePageCopyGroupIdentifier(WKBundlePageRef page);
+
 typedef void (*WKBundlePageTestNotificationCallback)(void* context);
 WK_EXPORT void WKBundlePageRegisterScrollOperationCompletionCallback(WKBundlePageRef, WKBundlePageTestNotificationCallback, void* context);
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to