Index: content/shell/common/shell_messages.h |
diff --git a/content/shell/common/shell_messages.h b/content/shell/common/shell_messages.h |
index db671cd895c8ca9a40562e734c386975a581ec8a..295fe31f18140bd9c3355a8664b993d140aeecbe 100644 |
--- a/content/shell/common/shell_messages.h |
+++ b/content/shell/common/shell_messages.h |
@@ -46,6 +46,11 @@ IPC_MESSAGE_ROUTED0(ShellViewMsg_TryLeakDetection) |
IPC_MESSAGE_ROUTED1(ShellViewMsg_LayoutDumpCompleted, |
std::string /* completed/stitched layout dump */) |
+// Notifies BlinkTestRunner that the pixel dump has completed |
+// (and that it can proceed with finishing up the test). |
+IPC_MESSAGE_ROUTED1(ShellViewMsg_PixelsDumpResult, |
+ SkBitmap /* completed/stitched pixel dump */) |
+ |
// Send a text dump of the WebContents to the render host. |
IPC_MESSAGE_ROUTED1(ShellViewHostMsg_TextDump, |
std::string /* dump */) |
@@ -56,6 +61,12 @@ IPC_MESSAGE_ROUTED1(ShellViewHostMsg_TextDump, |
// ShellViewMsg_LayoutDumpCompleted. |
IPC_MESSAGE_ROUTED0(ShellViewHostMsg_InitiateLayoutDump) |
+// Asks the browser process to perform a pixel dump spanning all the |
+// (potentially cross-process) frames. This goes through multiple |
+// LayoutTestControl.SnapshotFrameImag calls and ends with sending of |
+// ShellViewMsg_PixelsDumpCompleted. |
+IPC_MESSAGE_ROUTED0(ShellViewHostMsg_InitiatePixelsDump) |
+ |
// Send an image dump of the WebContents to the render host. |
IPC_MESSAGE_ROUTED2(ShellViewHostMsg_ImageDump, |
std::string /* actual pixel hash */, |