WebKit Bugzilla
Attachment 368431 Details for
Bug 197270
: [WPE][GTK] Add webkit_frame_get_id() API
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-197270-20190428105526.patch (text/plain), 4.54 KB, created by
Michael Catanzaro
on 2019-04-28 08:55:27 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Michael Catanzaro
Created:
2019-04-28 08:55:27 PDT
Size:
4.54 KB
patch
obsolete
>Subversion Revision: 244189 >diff --git a/Source/WebKit/ChangeLog b/Source/WebKit/ChangeLog >index c688ba19adcdb131e2ff9734d9e4bc79aea93292..a1db85c6b5d218d8f2eb88f36862234c472c2fc4 100644 >--- a/Source/WebKit/ChangeLog >+++ b/Source/WebKit/ChangeLog >@@ -1,3 +1,17 @@ >+2019-04-25 Michael Catanzaro <mcatanzaro@igalia.com> >+ >+ [WPE][GTK] Add webkit_frame_get_id() API >+ https://bugs.webkit.org/show_bug.cgi?id=197270 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * UIProcess/API/gtk/docs/webkit2gtk-4.0-sections.txt: >+ * WebProcess/InjectedBundle/API/glib/WebKitFrame.cpp: >+ (webkit_frame_get_id): >+ * WebProcess/InjectedBundle/API/gtk/WebKitFrame.h: >+ * WebProcess/InjectedBundle/API/wpe/WebKitFrame.h: >+ * WebProcess/InjectedBundle/API/wpe/docs/wpe-webextensions-1.0-sections.txt: >+ > 2019-04-10 Chris Dumez <cdumez@apple.com> > > Regression(r244144) ProcessSwap.ReuseSuspendedProcessLoadHTMLString API test is flaky >diff --git a/Source/WebKit/UIProcess/API/gtk/docs/webkit2gtk-4.0-sections.txt b/Source/WebKit/UIProcess/API/gtk/docs/webkit2gtk-4.0-sections.txt >index 6bcd7c37c4271d8e2b8f9e31ccd9dc42202758ed..9f9263faed610e2c15d6a544b47ec3da87d077ac 100644 >--- a/Source/WebKit/UIProcess/API/gtk/docs/webkit2gtk-4.0-sections.txt >+++ b/Source/WebKit/UIProcess/API/gtk/docs/webkit2gtk-4.0-sections.txt >@@ -1597,6 +1597,7 @@ webkit_web_editor_get_type > <SECTION> > <FILE>WebKitFrame</FILE> > WebKitFrame >+webkit_frame_get_id > webkit_frame_is_main_frame > webkit_frame_get_uri > webkit_frame_get_javascript_global_context >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitFrame.cpp b/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitFrame.cpp >index 21a3f636e2a13e7560051e9b6044e1c875dd189f..d09360b3b028387124ccb766e9f21a7f9b1bc7e4 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitFrame.cpp >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitFrame.cpp >@@ -58,6 +58,23 @@ WebFrame* webkitFrameGetWebFrame(WebKitFrame* frame) > return frame->priv->webFrame.get(); > } > >+/** >+ * webkit_frame_get_id: >+ * @frame: a #WebKitFrame >+ * >+ * Gets the process-unique identifier of this #WebKitFrame. No other >+ * frame in the same web process will have the same ID; however, frames >+ * in other web processes may. >+ * >+ * Returns: the identifier of @frame >+ * >+ * Since: 2.26 >+ */ >+guint64 webkit_frame_get_id(WebKitFrame* frame) >+{ >+ return frame->priv->webFrame->frameID(); >+} >+ > /** > * webkit_frame_is_main_frame: > * @frame: a #WebKitFrame >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitFrame.h b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitFrame.h >index a310060a3824cb5ec6840040e4def0152c7372a3..42f161b2b153e7d940c6de57d57386d1f656f5c4 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitFrame.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/gtk/WebKitFrame.h >@@ -57,6 +57,9 @@ struct _WebKitFrameClass { > WEBKIT_API GType > webkit_frame_get_type (void); > >+WEBKIT_API guint64 >+webkit_frame_get_id (WebKitFrame *frame); >+ > WEBKIT_API gboolean > webkit_frame_is_main_frame (WebKitFrame *frame); > >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitFrame.h b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitFrame.h >index a3c6394dad1f075b74ead3c6ad3c9e618e9d8471..6a79c0306bef93888ca2393bd50e09378de16722 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitFrame.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitFrame.h >@@ -56,6 +56,9 @@ struct _WebKitFrameClass { > WEBKIT_API GType > webkit_frame_get_type (void); > >+WEBKIT_API guint64 >+webkit_frame_get_id (WebKitFrame *frame); >+ > WEBKIT_API gboolean > webkit_frame_is_main_frame (WebKitFrame *frame); > >diff --git a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/docs/wpe-webextensions-1.0-sections.txt b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/docs/wpe-webextensions-1.0-sections.txt >index a1d6844ddcfec6690d8d1412b6aaa61c1f050a24..e448296d9fa77a11aa60183dff020d14a80df98f 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/API/wpe/docs/wpe-webextensions-1.0-sections.txt >+++ b/Source/WebKit/WebProcess/InjectedBundle/API/wpe/docs/wpe-webextensions-1.0-sections.txt >@@ -76,6 +76,7 @@ webkit_web_editor_get_type > <SECTION> > <FILE>WebKitFrame</FILE> > WebKitFrame >+webkit_frame_get_id > webkit_frame_is_main_frame > webkit_frame_get_uri > webkit_frame_get_js_context
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 197270
:
368208
|
368431
|
368435