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

Unified Diff: content/browser/renderer_host/render_widget_host.cc

Issue 9582003: Support browser side thumbnailing for GPU composited pages on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 8 years, 10 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/browser/renderer_host/render_widget_host.cc
diff --git a/content/browser/renderer_host/render_widget_host.cc b/content/browser/renderer_host/render_widget_host.cc
index d08f150c21fc49d9f01efbd0561775a90fcc2242..2703a9842a3a18255869c466676b1cd2977320e0 100644
--- a/content/browser/renderer_host/render_widget_host.cc
+++ b/content/browser/renderer_host/render_widget_host.cc
@@ -484,6 +484,15 @@ bool RenderWidgetHostImpl::CopyFromBackingStore(skia::PlatformCanvas* output) {
gfx::Rect(backing_store->size()), output);
}
+#if !defined(OS_WIN)
+bool RenderWidgetHostImpl::CopyFromCompositingSurface(
+ skia::PlatformCanvas* output) {
+ // TODO(mazda): Implement this for other platforms.
+ NOTIMPLEMENTED();
+ return false;
+}
+#endif
+
#if defined(TOOLKIT_GTK)
bool RenderWidgetHostImpl::CopyFromBackingStoreToGtkWindow(
const gfx::Rect& dest_rect, GdkWindow* target) {

Powered by Google App Engine
This is Rietveld 408576698