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

Unified Diff: content/common/view_messages.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: unused include 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/render_widget_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 4b5bb76f617a791b4db845a1545ca9aa77e1c879..f1aef56a214684b574c0452d72c498267fc16074 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1386,6 +1386,14 @@ IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem,
IPC_MESSAGE_ROUTED1(ViewMsg_SwapCompositorFrameAck,
cc::CompositorFrameAck /* ack */)
+// Sent from the browser to ask the renderer for a snapshot of the current view.
+// The renderer replies with whether the snapshot succeeded and the SkBitmap.
+IPC_MESSAGE_ROUTED1(ViewMsg_Snapshot,
+ gfx::Rect /* src_subrect */)
+IPC_MESSAGE_ROUTED2(ViewHostMsg_Snapshot,
jam 2013/04/22 19:59:52 nit: i just saw this. this second IPC is in the wr
+ bool, /* success */
+ SkBitmap /* bitmap */)
+
// -----------------------------------------------------------------------------
// Messages sent from the renderer to the browser.
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/render_widget_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698