Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index c2c6dcd1e5ddb5126254a3a7917247b2b3d276db..3bb1f2758115bd2623c151004b73a30519ec1173 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -1445,6 +1445,12 @@ IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, |
IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupDIB, |
TransportDIB::Handle /* DIB handle */) |
+// Notifies the renderer that a snapshot has been retrieved. |
+IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted, |
+ int /* snapshot_id */, |
+ gfx::Size /* size */, |
+ std::vector<unsigned char> /* png */) |
+ |
// ----------------------------------------------------------------------------- |
// Messages sent from the renderer to the browser. |
@@ -1940,6 +1946,10 @@ IPC_MESSAGE_ROUTED3(ViewHostMsg_WebUISend, |
std::string /* message */, |
base::ListValue /* args */) |
+// Requests a snapshot of the given window. |
+IPC_MESSAGE_ROUTED1(ViewHostMsg_GetWindowSnapshot, |
+ int /* snapshot_id */) |
+ |
// 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. |