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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 IPC_MESSAGE_ROUTED0(ShellViewMsg_Reset) | 43 IPC_MESSAGE_ROUTED0(ShellViewMsg_Reset) |
44 | 44 |
45 // Sets the path to the WebKit checkout. | 45 // Sets the path to the WebKit checkout. |
46 IPC_MESSAGE_CONTROL1(ShellViewMsg_SetWebKitSourceDir, | 46 IPC_MESSAGE_CONTROL1(ShellViewMsg_SetWebKitSourceDir, |
47 base::FilePath /* webkit source dir */) | 47 base::FilePath /* webkit source dir */) |
48 | 48 |
49 // Sets the initial configuration to use for layout tests. | 49 // Sets the initial configuration to use for layout tests. |
50 IPC_MESSAGE_ROUTED1(ShellViewMsg_SetTestConfiguration, | 50 IPC_MESSAGE_ROUTED1(ShellViewMsg_SetTestConfiguration, |
51 content::ShellTestConfiguration) | 51 content::ShellTestConfiguration) |
52 | 52 |
53 // Tells the main window that a secondary window in a different process invoked | 53 // Tells the main window that a secondary renderer in a different process thinks |
54 // notifyDone(). | 54 // the test is finished. |
55 IPC_MESSAGE_ROUTED0(ShellViewMsg_NotifyDone) | 55 IPC_MESSAGE_ROUTED0(ShellViewMsg_NotifyDone) |
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 */, |
(...skipping 30 matching lines...) Expand all Loading... |
95 SkBitmap /* image */) | 95 SkBitmap /* image */) |
96 | 96 |
97 // Send an audio dump to the render host. | 97 // Send an audio dump to the render host. |
98 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_AudioDump, | 98 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_AudioDump, |
99 std::vector<unsigned char> /* audio data */) | 99 std::vector<unsigned char> /* audio data */) |
100 | 100 |
101 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_TestFinished) | 101 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_TestFinished) |
102 | 102 |
103 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_ResetDone) | 103 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_ResetDone) |
104 | 104 |
105 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_TestFinishedInSecondaryWindow) | 105 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_TestFinishedInSecondaryRenderer) |
106 | 106 |
107 // WebTestDelegate related. | 107 // WebTestDelegate related. |
108 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_OverridePreferences, | 108 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_OverridePreferences, |
109 content::WebPreferences /* preferences */) | 109 content::WebPreferences /* preferences */) |
110 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_PrintMessage, | 110 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_PrintMessage, |
111 std::string /* message */) | 111 std::string /* message */) |
112 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_ClearDevToolsLocalStorage) | 112 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_ClearDevToolsLocalStorage) |
113 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_ShowDevTools, | 113 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_ShowDevTools, |
114 std::string /* settings */, | 114 std::string /* settings */, |
115 std::string /* frontend_url */) | 115 std::string /* frontend_url */) |
(...skipping 16 matching lines...) Expand all Loading... |
132 content::LeakDetectionResult /* result */) | 132 content::LeakDetectionResult /* result */) |
133 | 133 |
134 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_SetBluetoothManualChooser, | 134 IPC_MESSAGE_ROUTED1(ShellViewHostMsg_SetBluetoothManualChooser, |
135 bool /* enable */) | 135 bool /* enable */) |
136 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_GetBluetoothManualChooserEvents) | 136 IPC_MESSAGE_ROUTED0(ShellViewHostMsg_GetBluetoothManualChooserEvents) |
137 IPC_MESSAGE_ROUTED1(ShellViewMsg_ReplyBluetoothManualChooserEvents, | 137 IPC_MESSAGE_ROUTED1(ShellViewMsg_ReplyBluetoothManualChooserEvents, |
138 std::vector<std::string> /* events */) | 138 std::vector<std::string> /* events */) |
139 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_SendBluetoothManualChooserEvent, | 139 IPC_MESSAGE_ROUTED2(ShellViewHostMsg_SendBluetoothManualChooserEvent, |
140 std::string /* event */, | 140 std::string /* event */, |
141 std::string /* argument */) | 141 std::string /* argument */) |
OLD | NEW |