summaryrefslogtreecommitdiffstats
path: root/content/shell/shell_messages.h
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-01 10:34:11 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-01 10:34:11 +0000
commitb2324b090dcf975dc5866bad398fb17a05f4b103 (patch)
treed79cf59f48d2b9c1b7f12fbadad75175f2f112d8 /content/shell/shell_messages.h
parent22edd7ac6bfe0f479e7ebc31ae3ee441b5693a2b (diff)
downloadchromium_src-b2324b090dcf975dc5866bad398fb17a05f4b103.zip
chromium_src-b2324b090dcf975dc5866bad398fb17a05f4b103.tar.gz
chromium_src-b2324b090dcf975dc5866bad398fb17a05f4b103.tar.bz2
[content shell] link against the TestRunner library
BUG=111316 TEST=layout tests are more awesome Review URL: https://chromiumcodereview.appspot.com/11245004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165329 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/shell_messages.h')
-rw-r--r--content/shell/shell_messages.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/content/shell/shell_messages.h b/content/shell/shell_messages.h
index 53840c5..4a21136 100644
--- a/content/shell/shell_messages.h
+++ b/content/shell/shell_messages.h
@@ -23,6 +23,13 @@ IPC_MESSAGE_ROUTED3(ShellViewMsg_CaptureTextDump,
IPC_MESSAGE_ROUTED1(ShellViewMsg_CaptureImageDump,
std::string /* expected pixel hash */)
+// Tells the render view that it should register itself as main window for the
+// layout test.
+IPC_MESSAGE_ROUTED0(ShellViewMsg_SetIsMainWindow)
+
+// Tells the renderer to reset all test runners.
+IPC_MESSAGE_CONTROL0(ShellViewMsg_ResetAll)
+
// Send a text dump of the WebContents to the render host.
IPC_MESSAGE_ROUTED1(ShellViewHostMsg_TextDump,
std::string /* dump */)
@@ -35,6 +42,10 @@ IPC_MESSAGE_ROUTED2(ShellViewHostMsg_ImageDump,
// The main frame of the render view finished loading.
IPC_MESSAGE_ROUTED0(ShellViewHostMsg_DidFinishLoad)
+// Print a message from a layout test runner.
+IPC_MESSAGE_ROUTED1(ShellViewHostMsg_PrintMessage,
+ std::string /* message */)
+
// The following messages correspond to methods of the testRunner.
IPC_MESSAGE_ROUTED0(ShellViewHostMsg_NotifyDone)
IPC_MESSAGE_ROUTED0(ShellViewHostMsg_DumpAsText)