Chromium Code Reviews| 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. |