[Webkit-unassigned] [Bug 92261] [gtk] Add wk1 method for snapshotting a webview

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 25 09:43:34 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=92261





--- Comment #1 from Claudio Saavedra <csaavedra at igalia.com>  2012-07-25 09:43:39 PST ---
Created an attachment (id=154377)
 --> (https://bugs.webkit.org/attachment.cgi?id=154377&action=review)
2012-07-25  Claudio Saavedra  <csaavedra at igalia.com>

[Gtk] Add WK1 API for snapshot retrieval
        https://bugs.webkit.org/show_bug.cgi?id=92261

        Reviewed by NOBODY (OOPS!).

        Added a method to ChromeClientGtk that paints the webview contents
        into a cairo_surface and add the public API to WebKitWebView for
        this.

        * WebCoreSupport/ChromeClientGtk.cpp:
        (WebKit::ChromeClient::paintWebViewInSurface): Paint
        the ChromeClient in a given cairo_surface.
        * WebCoreSupport/ChromeClientGtk.h:
        (ChromeClient): Ditto.
        * webkit/webkitwebview.cpp:
        (webkit_web_view_get_snapshot): New
        method to paint a webview snapshot.
        * webkit/webkitwebview.h: Ditto.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list