Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1368)

Unified Diff: content/shell/shell_messages.h

Issue 11245004: [content shell] link against the TestRunner library (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/DEPS ('k') | content/shell/shell_render_process_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_messages.h
diff --git a/content/shell/shell_messages.h b/content/shell/shell_messages.h
index 53840c50581f4eea5e92f4b7dd69d8b5e19f43f2..4a21136fa14244e25e4d9564502fd0d5b31117a2 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)
« no previous file with comments | « content/shell/DEPS ('k') | content/shell/shell_render_process_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698