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 18 matching lines...) Expand all Loading... |
29 IPC_STRUCT_TRAITS_MEMBER(initial_size) | 29 IPC_STRUCT_TRAITS_MEMBER(initial_size) |
30 IPC_STRUCT_TRAITS_END() | 30 IPC_STRUCT_TRAITS_END() |
31 | 31 |
32 // Tells the renderer to reset all test runners. | 32 // Tells the renderer to reset all test runners. |
33 IPC_MESSAGE_ROUTED0(ShellViewMsg_Reset) | 33 IPC_MESSAGE_ROUTED0(ShellViewMsg_Reset) |
34 | 34 |
35 // Sets the path to the WebKit checkout. | 35 // Sets the path to the WebKit checkout. |
36 IPC_MESSAGE_CONTROL1(ShellViewMsg_SetWebKitSourceDir, | 36 IPC_MESSAGE_CONTROL1(ShellViewMsg_SetWebKitSourceDir, |
37 base::FilePath /* webkit source dir */) | 37 base::FilePath /* webkit source dir */) |
38 | 38 |
39 // Sets the test config for a layout test that is being started. | 39 // Sets the test config for a layout test that is being started. This message |
| 40 // is sent only to a renderer that hosts parts of the main test window. |
40 IPC_MESSAGE_ROUTED1(ShellViewMsg_SetTestConfiguration, | 41 IPC_MESSAGE_ROUTED1(ShellViewMsg_SetTestConfiguration, |
41 content::ShellTestConfiguration) | 42 content::ShellTestConfiguration) |
42 | 43 |
43 // 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. |
44 IPC_MESSAGE_ROUTED2( | 46 IPC_MESSAGE_ROUTED2( |
45 ShellViewMsg_ReplicateTestConfiguration, | 47 ShellViewMsg_ReplicateTestConfiguration, |
46 content::ShellTestConfiguration, | 48 content::ShellTestConfiguration, |
47 base::DictionaryValue /* accumulated_layout_test_runtime_flags_changes */) | 49 base::DictionaryValue /* accumulated_layout_test_runtime_flags_changes */) |
48 | 50 |
| 51 // Sets up a secondary renderer (renderer that doesn't [yet] host parts of the |
| 52 // main test window) for a layout test. |
| 53 IPC_MESSAGE_ROUTED0(ShellViewMsg_SetupSecondaryRenderer) |
| 54 |
49 // Used to broadcast changes happening in one renderer to all other renderers. | 55 // Used to broadcast changes happening in one renderer to all other renderers. |
50 IPC_MESSAGE_ROUTED1( | 56 IPC_MESSAGE_ROUTED1( |
51 ShellViewMsg_ReplicateLayoutTestRuntimeFlagsChanges, | 57 ShellViewMsg_ReplicateLayoutTestRuntimeFlagsChanges, |
52 base::DictionaryValue /* changed_layout_test_runtime_flags */) | 58 base::DictionaryValue /* changed_layout_test_runtime_flags */) |
53 | 59 |
54 // Tells the main window that a secondary renderer in a different process thinks | 60 // Tells the main window that a secondary renderer in a different process thinks |
55 // the test is finished. | 61 // the test is finished. |
56 IPC_MESSAGE_ROUTED0(ShellViewMsg_NotifyDone) | 62 IPC_MESSAGE_ROUTED0(ShellViewMsg_NotifyDone) |
57 | 63 |
58 // Pushes a snapshot of the current session history from the browser process. | 64 // Pushes a snapshot of the current session history from the browser process. |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 content::LeakDetectionResult /* result */) | 146 content::LeakDetectionResult /* result */) |
141 | 147 |
142 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_SetBluetoothManualChooser, | 148 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_SetBluetoothManualChooser, |
143 bool /* enable */) | 149 bool /* enable */) |
144 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_GetBluetoothManualChooserEvents) | 150 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_GetBluetoothManualChooserEvents) |
145 IPC_MESSAGE_ROUTED1(ShellViewMsg_ReplyBluetoothManualChooserEvents, | 151 IPC_MESSAGE_ROUTED1(ShellViewMsg_ReplyBluetoothManualChooserEvents, |
146 std::vector<std::string> /* events */) | 152 std::vector<std::string> /* events */) |
147 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_SendBluetoothManualChooserEvent, | 153 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_SendBluetoothManualChooserEvent, |
148 std::string /* event */, | 154 std::string /* event */, |
149 std::string /* argument */) | 155 std::string /* argument */) |
OLD | NEW |