OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // Defines the IPC messages used by the automation interface. | 5 // Defines the IPC messages used by the automation interface. |
6 | 6 |
7 // This header is meant to be included in multiple passes, hence no traditional | 7 // This header is meant to be included in multiple passes, hence no traditional |
8 // header guard. | 8 // header guard. |
9 // See ipc_message_macros.h for explanation of the macros and passes. | 9 // See ipc_message_macros.h for explanation of the macros and passes. |
10 | 10 |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 bool) // status | 218 bool) // status |
219 | 219 |
220 // This message requests the AutomationProvider to apply a certain | 220 // This message requests the AutomationProvider to apply a certain |
221 // accelerator. It is completely asynchronous with the resulting accelerator | 221 // accelerator. It is completely asynchronous with the resulting accelerator |
222 // action. | 222 // action. |
223 IPC_SYNC_MESSAGE_ROUTED2_0(AutomationMsg_ApplyAccelerator, | 223 IPC_SYNC_MESSAGE_ROUTED2_0(AutomationMsg_ApplyAccelerator, |
224 int, // window handle | 224 int, // window handle |
225 int) // accelerator id like (IDC_BACK, | 225 int) // accelerator id like (IDC_BACK, |
226 // IDC_FORWARD, etc) | 226 // IDC_FORWARD, etc) |
227 // The list can be found at | 227 // The list can be found at |
228 // chrome/app/chrome_dll_resource.h | 228 // chrome/app/chrome_command_ids.h |
229 | 229 |
230 // This message requests that the AutomationProvider executes a JavaScript, | 230 // This message requests that the AutomationProvider executes a JavaScript, |
231 // which is sent embedded in a 'javascript:' URL. | 231 // which is sent embedded in a 'javascript:' URL. |
232 // The javascript is executed in context of child frame whose xpath | 232 // The javascript is executed in context of child frame whose xpath |
233 // is passed as parameter (context_frame). The execution results in | 233 // is passed as parameter (context_frame). The execution results in |
234 // a serialized JSON string response. | 234 // a serialized JSON string response. |
235 IPC_SYNC_MESSAGE_ROUTED3_1(AutomationMsg_DomOperation, | 235 IPC_SYNC_MESSAGE_ROUTED3_1(AutomationMsg_DomOperation, |
236 int, // tab handle | 236 int, // tab handle |
237 std::wstring, // context_frame | 237 std::wstring, // context_frame |
238 std::wstring, // the javascript to be executed | 238 std::wstring, // the javascript to be executed |
(...skipping 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1442 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_WaitForAutocompleteEditFocus, | 1442 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_WaitForAutocompleteEditFocus, |
1443 int /* autocomplete edit handle */, | 1443 int /* autocomplete edit handle */, |
1444 bool /* success */) | 1444 bool /* success */) |
1445 | 1445 |
1446 // Loads all blocked plug-ins on the page. | 1446 // Loads all blocked plug-ins on the page. |
1447 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_LoadBlockedPlugins, | 1447 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_LoadBlockedPlugins, |
1448 int /* tab handle */, | 1448 int /* tab handle */, |
1449 bool /* success */) | 1449 bool /* success */) |
1450 | 1450 |
1451 IPC_END_MESSAGES(Automation) | 1451 IPC_END_MESSAGES(Automation) |
OLD | NEW |