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

Unified Diff: content/common/view_messages.h

Issue 259523008: Remove RenderWidgetHost::GetSnapshotFromRenderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: getsnapshotfromrenderer: rm Created 6 years, 8 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/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index b4186820b6164ffa84e53f6e2c0f9ff006f90f66..89a317e475d2f6b2728ba157a565b3116d657596 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1011,10 +1011,6 @@ IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources,
uint32 /* output_surface_id */,
cc::CompositorFrameAck /* ack */)
-// Sent by the browser to ask the renderer for a snapshot of the current view.
-IPC_MESSAGE_ROUTED1(ViewMsg_Snapshot,
- gfx::Rect /* src_subrect */)
-
// -----------------------------------------------------------------------------
// Messages sent from the renderer to the browser.
@@ -1573,12 +1569,6 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_DidOverscroll,
// Sent by the compositor when a flinging animation is stopped.
IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStopFlinging)
-// Reply to a snapshot request containing whether snapshotting succeeded and the
-// SkBitmap if it succeeded.
-IPC_MESSAGE_ROUTED2(ViewHostMsg_Snapshot,
- bool, /* success */
- SkBitmap /* bitmap */)
-
//---------------------------------------------------------------------------
// Request for cryptographic operation messages:
// These are messages from the renderer to the browser to perform a
« no previous file with comments | « content/browser/renderer_host/render_widget_host_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