Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2217)

Unified Diff: android_webview/browser/renderer_host/aw_render_view_host_ext.h

Issue 11823027: [Android WebView] Implement the capture picture API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: new approach without ExternalPictureData. Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: android_webview/browser/renderer_host/aw_render_view_host_ext.h
diff --git a/android_webview/browser/renderer_host/aw_render_view_host_ext.h b/android_webview/browser/renderer_host/aw_render_view_host_ext.h
index 83bd439411ab2dbe2760ee7c3f76ea3f7a91d261..d0d8b0e95976561477fb0431da636ef8d47f1ad7 100644
--- a/android_webview/browser/renderer_host/aw_render_view_host_ext.h
+++ b/android_webview/browser/renderer_host/aw_render_view_host_ext.h
@@ -50,6 +50,12 @@ class AwRenderViewHostExt : public content::WebContentsObserver,
// the corresponding public WebView API is as well.
const AwHitTestData& GetLastHitTestData() const;
+ // Enables receiving picture piles on every new frame.
joth 2013/01/12 02:36:28 nit: receiving -> updating? (receiving made me loo
Leandro GraciĆ” Gil 2013/01/12 17:59:14 Done.
+ void EnableCapturePictureCallback(bool enabled);
+
+ // Captures the latest available picture pile synchronously.
+ void CapturePictureSync();
+
private:
// content::WebContentsObserver implementation.
virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698