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

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

Issue 13795002: [content shell] add support for invoking testRunner.notifyDone in a different process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/shell/shell.cc ('k') | content/shell/webkit_test_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include <vector> 7 #include <vector>
8 8
9 #include "content/public/common/common_param_traits.h" 9 #include "content/public/common/common_param_traits.h"
10 #include "content/shell/shell_test_configuration.h" 10 #include "content/shell/shell_test_configuration.h"
(...skipping 21 matching lines...) Expand all
32 base::FilePath /* webkit source dir */) 32 base::FilePath /* webkit source dir */)
33 33
34 // Loads the hyphen dictionary used for layout tests. 34 // Loads the hyphen dictionary used for layout tests.
35 IPC_MESSAGE_CONTROL1(ShellViewMsg_LoadHyphenDictionary, 35 IPC_MESSAGE_CONTROL1(ShellViewMsg_LoadHyphenDictionary,
36 IPC::PlatformFileForTransit /* dict_file */) 36 IPC::PlatformFileForTransit /* dict_file */)
37 37
38 // Sets the initial configuration to use for layout tests. 38 // Sets the initial configuration to use for layout tests.
39 IPC_MESSAGE_ROUTED1(ShellViewMsg_SetTestConfiguration, 39 IPC_MESSAGE_ROUTED1(ShellViewMsg_SetTestConfiguration,
40 content::ShellTestConfiguration) 40 content::ShellTestConfiguration)
41 41
42 // Tells the main window that a secondary window in a different process invoked
43 // notifyDone().
44 IPC_MESSAGE_ROUTED0(ShellViewMsg_NotifyDone)
45
42 // Pushes a snapshot of the current session history from the browser process. 46 // Pushes a snapshot of the current session history from the browser process.
43 // This includes only information about those RenderViews that are in the 47 // This includes only information about those RenderViews that are in the
44 // same process as the main window of the layout test and that are the current 48 // same process as the main window of the layout test and that are the current
45 // active RenderView of their WebContents. 49 // active RenderView of their WebContents.
46 IPC_MESSAGE_ROUTED3( 50 IPC_MESSAGE_ROUTED3(
47 ShellViewMsg_SessionHistory, 51 ShellViewMsg_SessionHistory,
48 std::vector<int> /* routing_ids */, 52 std::vector<int> /* routing_ids */,
49 std::vector<std::vector<std::string> > /* session_histories */, 53 std::vector<std::vector<std::string> > /* session_histories */,
50 std::vector<unsigned> /* current_entry_indexes */) 54 std::vector<unsigned> /* current_entry_indexes */)
51 55
52 // Send a text dump of the WebContents to the render host. 56 // Send a text dump of the WebContents to the render host.
53 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_TextDump, 57 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_TextDump,
54 std::string /* dump */) 58 std::string /* dump */)
55 59
56 // Send an image dump of the WebContents to the render host. 60 // Send an image dump of the WebContents to the render host.
57 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_ImageDump, 61 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_ImageDump,
58 std::string /* actual pixel hash */, 62 std::string /* actual pixel hash */,
59 SkBitmap /* image */) 63 SkBitmap /* image */)
60 64
61 // Send an audio dump to the render host. 65 // Send an audio dump to the render host.
62 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_AudioDump, 66 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_AudioDump,
63 std::vector<unsigned char> /* audio data */) 67 std::vector<unsigned char> /* audio data */)
64 68
65 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_TestFinished, 69 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_TestFinished,
66 bool /* did_timeout */) 70 bool /* did_timeout */)
67 71
68 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_ResetDone) 72 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_ResetDone)
69 73
74 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_TestFinishedInSecondaryWindow)
75
70 // WebTestDelegate related. 76 // WebTestDelegate related.
71 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_OverridePreferences, 77 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_OverridePreferences,
72 webkit_glue::WebPreferences /* preferences */) 78 webkit_glue::WebPreferences /* preferences */)
73 IPC_SYNC_MESSAGE_ROUTED1_1(ShellViewHostMsg_RegisterIsolatedFileSystem, 79 IPC_SYNC_MESSAGE_ROUTED1_1(ShellViewHostMsg_RegisterIsolatedFileSystem,
74 std::vector<base::FilePath> /* absolute_filenames */, 80 std::vector<base::FilePath> /* absolute_filenames */,
75 std::string /* filesystem_id */) 81 std::string /* filesystem_id */)
76 IPC_SYNC_MESSAGE_ROUTED1_1(ShellViewHostMsg_ReadFileToString, 82 IPC_SYNC_MESSAGE_ROUTED1_1(ShellViewHostMsg_ReadFileToString,
77 base::FilePath /* local path */, 83 base::FilePath /* local path */,
78 std::string /* contents */) 84 std::string /* contents */)
79 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_PrintMessage, 85 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_PrintMessage,
80 std::string /* message */) 86 std::string /* message */)
81 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_ShowDevTools) 87 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_ShowDevTools)
82 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_CloseDevTools) 88 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_CloseDevTools)
83 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_GoToOffset, 89 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_GoToOffset,
84 int /* offset */) 90 int /* offset */)
85 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_Reload) 91 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_Reload)
86 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_LoadURLForFrame, 92 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_LoadURLForFrame,
87 GURL /* url */, 93 GURL /* url */,
88 std::string /* frame_name */) 94 std::string /* frame_name */)
89 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_ClearAllDatabases) 95 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_ClearAllDatabases)
90 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_SetDatabaseQuota, 96 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_SetDatabaseQuota,
91 int /* quota */) 97 int /* quota */)
92 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_AcceptAllCookies, 98 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_AcceptAllCookies,
93 bool /* accept */) 99 bool /* accept */)
94 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_SetDeviceScaleFactor, 100 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_SetDeviceScaleFactor,
95 float /* factor */) 101 float /* factor */)
96 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_CaptureSessionHistory) 102 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_CaptureSessionHistory)
97 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_CloseRemainingWindows) 103 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_CloseRemainingWindows)
OLDNEW
« no previous file with comments | « content/shell/shell.cc ('k') | content/shell/webkit_test_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698