Bug 128498

Summary: [GTK] Add API to create a webview related to another one
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: berto, bunhere, cdumez, commit-queue, gustavo, gyuyoung.kim, mrobinson, sergio, svillar
Priority: P2 Keywords: Gtk
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch gustavo: review+

Carlos Garcia Campos
Reported 2014-02-09 03:32:08 PST
Related web view will shared the same web process. this is needed in some cases, like for window.open(9 but it also allows to implement other multi-process models in the app side.
Attachments
Patch (18.25 KB, patch)
2014-02-09 03:47 PST, Carlos Garcia Campos
gustavo: review+
Carlos Garcia Campos
Comment 1 2014-02-09 03:47:17 PST
WebKit Commit Bot
Comment 2 2014-02-09 03:49:13 PST
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Gustavo Noronha (kov)
Comment 3 2014-02-10 04:43:56 PST
Comment on attachment 223626 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=223626&action=review > Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp:653 > + * > + * The related #WebKitWebView used when creating the view to share the > + * same web process. > + * We should explain here that you can't obtain the related view after the creation, or is the gtk-doc note for a write-only, consctruct-only property enough, you think (I don't recall seeing one)?
Carlos Garcia Campos
Comment 4 2014-02-10 05:37:01 PST
(In reply to comment #3) > (From update of attachment 223626 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=223626&action=review > > > Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp:653 > > + * > > + * The related #WebKitWebView used when creating the view to share the > > + * same web process. > > + * > > We should explain here that you can't obtain the related view after the creation, or is the gtk-doc note for a write-only, consctruct-only property enough, you think (I don't recall seeing one)? I assumed that being writable/construct only property and the lack of public getter was clear enough, but I'll add a comment in the docs.
Carlos Garcia Campos
Comment 5 2014-02-10 05:42:08 PST
Note You need to log in before you can comment on or make changes to this bug.