Index: content/public/browser/render_widget_host.h |
diff --git a/content/public/browser/render_widget_host.h b/content/public/browser/render_widget_host.h |
index a6206de26532077ce704cfd8b7787d58105f94ee..10df59b478770288a46147fd1e160de0a9a28425 100644 |
--- a/content/public/browser/render_widget_host.h |
+++ b/content/public/browser/render_widget_host.h |
@@ -191,6 +191,12 @@ class CONTENT_EXPORT RenderWidgetHost : public IPC::Channel::Sender { |
CGContextRef target) = 0; |
#endif |
+ // Copies the contents of the compositing surface into the given |
+ // (uninitialized) PlatformCanvas if any. Returns true on success, false |
+ // otherwise. |
+ virtual bool CopyFromCompositingSurface(const gfx::Size& size, |
+ skia::PlatformCanvas* output) = 0; |
+ |
// Enable renderer accessibility. This should only be called when a |
// screenreader is detected. |
virtual void EnableRendererAccessibility() = 0; |