Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index f8518839398216a5fe9cef08691ef9e3e4c3809e..8762ab4a96e1881b992a7d09af946ea4384b2f0c 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -1929,6 +1929,16 @@ IPC_MESSAGE_ROUTED3(ViewHostMsg_WebUISend, |
std::string /* message */, |
base::ListValue /* args */) |
+// Requests a snapshot of the given window. |
+IPC_MESSAGE_ROUTED1(ViewHostMsg_GetWindowSnapshot, |
+ int /* message id */) |
+ |
+// Notifies the render view that a snapshot has been retrieved. |
+IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted, |
jam
2012/11/15 01:05:59
nit: this should go with the rest of the browser->
|
+ int /* snapshot_id */, |
+ gfx::Size /* size */, |
+ std::vector<unsigned char> /* png */) |
+ |
// A renderer sends this to the browser process when it wants to create a ppapi |
// plugin. The browser will create the plugin process if necessary, and will |
// return a handle to the channel on success. |