Bug 140617

Summary: [GTK] Add an option to create WebKitWebView snapshots with transparent background
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: berto, commit-queue, csaavedra, gns, mrobinson
Priority: P2 Keywords: Gtk
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch gns: review+

Description Carlos Garcia Campos 2015-01-19 05:37:28 PST
Add WEBKIT_SNAPSHOT_OPTIONS_TRANSPARENT_BACKGROUND flag to not fill with white the background before rendering the snapshot.
Comment 1 Carlos Garcia Campos 2015-01-19 05:44:11 PST
Created attachment 244899 [details]
Patch
Comment 2 WebKit Commit Bot 2015-01-19 05:46:25 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
Comment 3 Martin Robinson 2015-01-19 08:28:59 PST
Comment on attachment 244899 [details]
Patch

Looks good to me. Needs one more reviewer though.
Comment 4 Gustavo Noronha (kov) 2015-01-19 14:40:55 PST
Comment on attachment 244899 [details]
Patch

Yep!
Comment 5 Carlos Garcia Campos 2015-01-20 00:29:27 PST
Committed r178700: <http://trac.webkit.org/changeset/178700>