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 "components/test_runner/layout_dump_flags.h" | 9 #include "components/test_runner/layout_dump_flags.h" |
10 #include "content/public/common/common_param_traits.h" | 10 #include "content/public/common/common_param_traits.h" |
(...skipping 30 matching lines...) Expand all Loading... |
41 IPC_MESSAGE_ROUTED0(ShellViewMsg_Reset) | 41 IPC_MESSAGE_ROUTED0(ShellViewMsg_Reset) |
42 | 42 |
43 // Sets the path to the WebKit checkout. | 43 // Sets the path to the WebKit checkout. |
44 IPC_MESSAGE_CONTROL1(ShellViewMsg_SetWebKitSourceDir, | 44 IPC_MESSAGE_CONTROL1(ShellViewMsg_SetWebKitSourceDir, |
45 base::FilePath /* webkit source dir */) | 45 base::FilePath /* webkit source dir */) |
46 | 46 |
47 // Sets the initial configuration to use for layout tests. | 47 // Sets the initial configuration to use for layout tests. |
48 IPC_MESSAGE_ROUTED1(ShellViewMsg_SetTestConfiguration, | 48 IPC_MESSAGE_ROUTED1(ShellViewMsg_SetTestConfiguration, |
49 content::ShellTestConfiguration) | 49 content::ShellTestConfiguration) |
50 | 50 |
51 // Tells the main window that a secondary window in a different process invoked | 51 // Tells the main window that a secondary renderer in a different process thinks |
52 // notifyDone(). | 52 // the test is finished. |
53 IPC_MESSAGE_ROUTED0(ShellViewMsg_NotifyDone) | 53 IPC_MESSAGE_ROUTED0(ShellViewMsg_NotifyDone) |
54 | 54 |
55 // Pushes a snapshot of the current session history from the browser process. | 55 // Pushes a snapshot of the current session history from the browser process. |
56 // This includes only information about those RenderViews that are in the | 56 // This includes only information about those RenderViews that are in the |
57 // same process as the main window of the layout test and that are the current | 57 // same process as the main window of the layout test and that are the current |
58 // active RenderView of their WebContents. | 58 // active RenderView of their WebContents. |
59 IPC_MESSAGE_ROUTED3( | 59 IPC_MESSAGE_ROUTED3( |
60 ShellViewMsg_SessionHistory, | 60 ShellViewMsg_SessionHistory, |
61 std::vector<int> /* routing_ids */, | 61 std::vector<int> /* routing_ids */, |
62 std::vector<std::vector<content::PageState> > /* session_histories */, | 62 std::vector<std::vector<content::PageState> > /* session_histories */, |
(...skipping 30 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_TestFinishedInSecondaryWindow) | 103 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_TestFinishedInSecondaryRenderer) |
104 | 104 |
105 // WebTestDelegate related. | 105 // WebTestDelegate related. |
106 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_OverridePreferences, | 106 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_OverridePreferences, |
107 content::WebPreferences /* preferences */) | 107 content::WebPreferences /* preferences */) |
108 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_PrintMessage, | 108 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_PrintMessage, |
109 std::string /* message */) | 109 std::string /* message */) |
110 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_ClearDevToolsLocalStorage) | 110 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_ClearDevToolsLocalStorage) |
111 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_ShowDevTools, | 111 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_ShowDevTools, |
112 std::string /* settings */, | 112 std::string /* settings */, |
113 std::string /* frontend_url */) | 113 std::string /* frontend_url */) |
(...skipping 16 matching lines...) Expand all Loading... |
130 content::LeakDetectionResult /* result */) | 130 content::LeakDetectionResult /* result */) |
131 | 131 |
132 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_SetBluetoothManualChooser, | 132 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_SetBluetoothManualChooser, |
133 bool /* enable */) | 133 bool /* enable */) |
134 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_GetBluetoothManualChooserEvents) | 134 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_GetBluetoothManualChooserEvents) |
135 IPC_MESSAGE_ROUTED1(ShellViewMsg_ReplyBluetoothManualChooserEvents, | 135 IPC_MESSAGE_ROUTED1(ShellViewMsg_ReplyBluetoothManualChooserEvents, |
136 std::vector<std::string> /* events */) | 136 std::vector<std::string> /* events */) |
137 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_SendBluetoothManualChooserEvent, | 137 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_SendBluetoothManualChooserEvent, |
138 std::string /* event */, | 138 std::string /* event */, |
139 std::string /* argument */) | 139 std::string /* argument */) |
OLD | NEW |