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

Unified Diff: content/renderer/render_widget.h

Issue 12881005: Allow CopyFromBackingStore to fallback to copying from the renderer side if the accelerated surface… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: uma Created 7 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/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index a8b70cd32836e8020c5ef41e0d5e18a368af4306..a2eeb695f1b0c8094893161b3daa7d72501fe0dd 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -356,6 +356,8 @@ class CONTENT_EXPORT RenderWidget
virtual void OnViewContextSwapBuffersComplete() OVERRIDE;
virtual void OnViewContextSwapBuffersAborted() OVERRIDE;
+ void OnSnapshot(const gfx::Rect& src_subrect);
+
// Detects if a suitable opaque plugin covers the given paint bounds with no
// compositing necessary.
//

Powered by Google App Engine
This is Rietveld 408576698