OLD | NEW |
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 "base/values.h" | 9 #include "base/values.h" |
10 #include "content/public/common/common_param_traits.h" | 10 #include "content/public/common/common_param_traits.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 | 43 |
44 // Replicates test config (for an already started test) to a new renderer | 44 // Replicates test config (for an already started test) to a new renderer |
45 // that hosts parts of the main test window. | 45 // that hosts parts of the main test window. |
46 IPC_MESSAGE_ROUTED1(ShellViewMsg_ReplicateTestConfiguration, | 46 IPC_MESSAGE_ROUTED1(ShellViewMsg_ReplicateTestConfiguration, |
47 content::ShellTestConfiguration) | 47 content::ShellTestConfiguration) |
48 | 48 |
49 // Sets up a secondary renderer (renderer that doesn't [yet] host parts of the | 49 // Sets up a secondary renderer (renderer that doesn't [yet] host parts of the |
50 // main test window) for a layout test. | 50 // main test window) for a layout test. |
51 IPC_MESSAGE_ROUTED0(ShellViewMsg_SetupSecondaryRenderer) | 51 IPC_MESSAGE_ROUTED0(ShellViewMsg_SetupSecondaryRenderer) |
52 | 52 |
53 // Tells the main window that a secondary renderer in a different process thinks | 53 // Tells the main window that a secondary renderer in a different process asked |
54 // the test is finished. | 54 // to finish the test. |
55 IPC_MESSAGE_ROUTED0(ShellViewMsg_NotifyDone) | 55 IPC_MESSAGE_ROUTED0(ShellViewMsg_TestFinishedInSecondaryRenderer) |
56 | 56 |
57 // Pushes a snapshot of the current session history from the browser process. | 57 // Pushes a snapshot of the current session history from the browser process. |
58 // This includes only information about those RenderViews that are in the | 58 // This includes only information about those RenderViews that are in the |
59 // same process as the main window of the layout test and that are the current | 59 // same process as the main window of the layout test and that are the current |
60 // active RenderView of their WebContents. | 60 // active RenderView of their WebContents. |
61 IPC_MESSAGE_ROUTED3( | 61 IPC_MESSAGE_ROUTED3( |
62 ShellViewMsg_SessionHistory, | 62 ShellViewMsg_SessionHistory, |
63 std::vector<int> /* routing_ids */, | 63 std::vector<int> /* routing_ids */, |
64 std::vector<std::vector<content::PageState> > /* session_histories */, | 64 std::vector<std::vector<content::PageState> > /* session_histories */, |
65 std::vector<unsigned> /* current_entry_indexes */) | 65 std::vector<unsigned> /* current_entry_indexes */) |
(...skipping 27 matching lines...) Expand all Loading... |
93 SkBitmap /* image */) | 93 SkBitmap /* image */) |
94 | 94 |
95 // Send an audio dump to the render host. | 95 // Send an audio dump to the render host. |
96 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_AudioDump, | 96 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_AudioDump, |
97 std::vector<unsigned char> /* audio data */) | 97 std::vector<unsigned char> /* audio data */) |
98 | 98 |
99 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_TestFinished) | 99 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_TestFinished) |
100 | 100 |
101 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_ResetDone) | 101 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_ResetDone) |
102 | 102 |
103 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_TestFinishedInSecondaryRenderer) | |
104 | |
105 // WebTestDelegate related. | 103 // WebTestDelegate related. |
106 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_OverridePreferences, | 104 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_OverridePreferences, |
107 content::WebPreferences /* preferences */) | 105 content::WebPreferences /* preferences */) |
108 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_PrintMessage, | 106 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_PrintMessage, |
109 std::string /* message */) | 107 std::string /* message */) |
110 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_ClearDevToolsLocalStorage) | 108 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_ClearDevToolsLocalStorage) |
111 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_ShowDevTools, | 109 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_ShowDevTools, |
112 std::string /* settings */, | 110 std::string /* settings */, |
113 std::string /* frontend_url */) | 111 std::string /* frontend_url */) |
114 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_EvaluateInDevTools, | 112 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_EvaluateInDevTools, |
(...skipping 18 matching lines...) Expand all Loading... |
133 content::LeakDetectionResult /* result */) | 131 content::LeakDetectionResult /* result */) |
134 | 132 |
135 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_SetBluetoothManualChooser, | 133 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_SetBluetoothManualChooser, |
136 bool /* enable */) | 134 bool /* enable */) |
137 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_GetBluetoothManualChooserEvents) | 135 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_GetBluetoothManualChooserEvents) |
138 IPC_MESSAGE_ROUTED1(ShellViewMsg_ReplyBluetoothManualChooserEvents, | 136 IPC_MESSAGE_ROUTED1(ShellViewMsg_ReplyBluetoothManualChooserEvents, |
139 std::vector<std::string> /* events */) | 137 std::vector<std::string> /* events */) |
140 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_SendBluetoothManualChooserEvent, | 138 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_SendBluetoothManualChooserEvent, |
141 std::string /* event */, | 139 std::string /* event */, |
142 std::string /* argument */) | 140 std::string /* argument */) |
OLD | NEW |