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

Unified Diff: content/public/browser/render_widget_host.h

Issue 9582003: Support browser side thumbnailing for GPU composited pages on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix try bot errors Created 8 years, 9 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: 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 72846b73fba46549764bd2c2adc990842589b263..bad57462e31cf3b9c9cfe7fcfd1076880373d2c7 100644
--- a/content/public/browser/render_widget_host.h
+++ b/content/public/browser/render_widget_host.h
@@ -190,6 +190,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;

Powered by Google App Engine
This is Rietveld 408576698