[Webkit-unassigned] [Bug 98270] [GTK][WK2] Add API to retrieve a snapshot from a webview
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 10 15:19:10 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=98270
Claudio Saavedra <csaavedra at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #178516|0 |1
is obsolete| |
Attachment #178516|review?, commit-queue? |
Flag| |
--- Comment #11 from Claudio Saavedra <csaavedra at igalia.com> 2012-12-10 15:21:32 PST ---
Created an attachment (id=178647)
--> (https://bugs.webkit.org/attachment.cgi?id=178647&action=review)
[GTK][WK2] Add API to retrieve a snapshot from a webview https://bugs.webkit.org/show_bug.cgi?id=98270
Reviewed by NOBODY (OOPS!).
This adds the GTK+ API necessary to retrieve a snapshot
from a webview asynchronously.
* UIProcess/API/gtk/WebKitError.cpp:
(webkit_snapshot_error_quark):
* UIProcess/API/gtk/WebKitError.h: Add snapshotting error
handling.
* UIProcess/API/gtk/WebKitWebView.cpp:
(GetSnapshotAsyncData):
(didGetSnapshot):
(webkit_web_view_get_snapshot):
(webkit_web_view_get_snapshot_finish): Add the public API.
* UIProcess/API/gtk/WebKitWebView.h: Ditto.
* UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Add the new
API to the docs.
* UIProcess/API/gtk/tests/TestWebKitWebView.cpp:
(testWebViewSnapshot):
(beforeAll): Add tests for the snapshotting API.
* UIProcess/WebPageProxy.cpp:
(WebKit):
(WebKit::WebPageProxy::getSnapshot):
Add a proxy method to request a snapshot from the web process.
* UIProcess/WebPageProxy.h:
(WebKit):
(WebPageProxy): Ditto.
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::createSnapshotOfVisibleContent): Add a method to
take a snapshot from the visible content of the web page, this
method will send a message back to the UI process with the image
handle.
(WebKit):
* WebProcess/WebPage/WebPage.h: Ditto.
(WebPage):
* WebProcess/WebPage/WebPage.messages.in: Add the message for
CreateSnapshotOfVisibleContent.
--
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