Index: chrome/common/automation_messages_internal.h |
diff --git a/chrome/common/automation_messages_internal.h b/chrome/common/automation_messages_internal.h |
index 29aa8a8bcacd87a137086aa1772d7dcf3d132b6c..aa59612cd37fbfe767323b80456df1e1f82d99dc 100644 |
--- a/chrome/common/automation_messages_internal.h |
+++ b/chrome/common/automation_messages_internal.h |
@@ -1494,9 +1494,19 @@ IPC_SYNC_MESSAGE_CONTROL0_1(AutomationMsg_EndTracing, |
IPC_SYNC_MESSAGE_CONTROL0_2(AutomationMsg_GetTracingOutput, |
std::string /* trace_chunk */, |
int /* remaining_chunks */) |
+// Browser -> renderer messages. |
+ |
+// Requests a snapshot. |
+IPC_MESSAGE_ROUTED0(AutomationMsg_SnapshotEntirePage) |
// Renderer -> browser messages. |
+// Sent as a response to |AutomationMsg_Snapshot|. |
+IPC_MESSAGE_ROUTED3(AutomationMsg_SnapshotEntirePageACK, |
+ bool /* success */, |
+ std::vector<unsigned char> /* png bytes */, |
+ std::string /* error message */) |
+ |
// Sent when the renderer has scheduled a client redirect to occur. |
IPC_MESSAGE_ROUTED2(AutomationMsg_WillPerformClientRedirect, |
int64 /* frame_id */, |