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

Side by Side Diff: content/shell/shell_messages.h

Issue 11416177: [content shell] change how the main render view is picked for layout tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include <string> 6 #include <string>
7 7
8 #include "content/public/common/common_param_traits.h" 8 #include "content/public/common/common_param_traits.h"
9 #include "ipc/ipc_message_macros.h" 9 #include "ipc/ipc_message_macros.h"
10 #include "third_party/skia/include/core/SkBitmap.h" 10 #include "third_party/skia/include/core/SkBitmap.h"
11 11
12 #define IPC_MESSAGE_START ShellMsgStart 12 #define IPC_MESSAGE_START ShellMsgStart
13 13
14 // Sets the current working directory to use for layout tests. 14 // Sets the current working directory to use for layout tests.
15 IPC_MESSAGE_ROUTED1(ShellViewMsg_SetCurrentWorkingDirectory, 15 IPC_MESSAGE_ROUTED1(ShellViewMsg_SetCurrentWorkingDirectory,
16 FilePath /* current_working_directory */) 16 FilePath /* current_working_directory */)
17 17
18 // Tells the render view to capture a text dump of the page. The render view 18 // Tells the render view to capture a text dump of the page. The render view
19 // responds with a ShellViewHostMsg_TextDump. 19 // responds with a ShellViewHostMsg_TextDump.
20 IPC_MESSAGE_ROUTED3(ShellViewMsg_CaptureTextDump, 20 IPC_MESSAGE_ROUTED3(ShellViewMsg_CaptureTextDump,
21 bool /* as_text */, 21 bool /* as_text */,
22 bool /* printing */, 22 bool /* printing */,
23 bool /* recursive */) 23 bool /* recursive */)
24 24
25 // Tells the render view to capture an image of the page. The render view 25 // Tells the render view to capture an image of the page. The render view
26 // responds with a ShellViewHostMsg_ImageDump. 26 // responds with a ShellViewHostMsg_ImageDump.
27 IPC_MESSAGE_ROUTED1(ShellViewMsg_CaptureImageDump, 27 IPC_MESSAGE_ROUTED1(ShellViewMsg_CaptureImageDump,
28 std::string /* expected pixel hash */) 28 std::string /* expected pixel hash */)
29 29
30 // Tells the render view that it should register itself as main window for the
31 // layout test.
32 IPC_MESSAGE_ROUTED0(ShellViewMsg_SetIsMainWindow)
33
34 // Tells the renderer to reset all test runners. 30 // Tells the renderer to reset all test runners.
35 IPC_MESSAGE_CONTROL0(ShellViewMsg_ResetAll) 31 IPC_MESSAGE_CONTROL0(ShellViewMsg_ResetAll)
36 32
37 // Send a text dump of the WebContents to the render host. 33 // Send a text dump of the WebContents to the render host.
38 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_TextDump, 34 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_TextDump,
39 std::string /* dump */) 35 std::string /* dump */)
40 36
41 // Send an image dump of the WebContents to the render host. 37 // Send an image dump of the WebContents to the render host.
42 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_ImageDump, 38 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_ImageDump,
43 std::string /* actual pixel hash */, 39 std::string /* actual pixel hash */,
(...skipping 12 matching lines...) Expand all
56 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_DumpChildFramesAsText) 52 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_DumpChildFramesAsText)
57 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_SetPrinting) 53 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_SetPrinting)
58 IPC_MESSAGE_ROUTED1( 54 IPC_MESSAGE_ROUTED1(
59 ShellViewHostMsg_SetShouldStayOnPageAfterHandlingBeforeUnload, 55 ShellViewHostMsg_SetShouldStayOnPageAfterHandlingBeforeUnload,
60 bool /* should_stay_on_page */) 56 bool /* should_stay_on_page */)
61 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_WaitUntilDone) 57 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_WaitUntilDone)
62 58
63 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_NotImplemented, 59 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_NotImplemented,
64 std::string /* object_name */, 60 std::string /* object_name */,
65 std::string /* property_name */) 61 std::string /* property_name */)
OLDNEW
« no previous file with comments | « content/shell/shell_content_renderer_client.cc ('k') | content/shell/shell_render_process_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698