| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 // is passed as parameter (context_frame). The execution results in | 225 // is passed as parameter (context_frame). The execution results in |
| 226 // a serialized JSON string response. | 226 // a serialized JSON string response. |
| 227 IPC_SYNC_MESSAGE_ROUTED3_1(AutomationMsg_DomOperation, | 227 IPC_SYNC_MESSAGE_ROUTED3_1(AutomationMsg_DomOperation, |
| 228 int, // tab handle | 228 int, // tab handle |
| 229 std::wstring, // context_frame | 229 std::wstring, // context_frame |
| 230 std::wstring, // the javascript to be executed | 230 std::wstring, // the javascript to be executed |
| 231 std::string) // the serialized json string | 231 std::string) // the serialized json string |
| 232 // containing the result of a | 232 // containing the result of a |
| 233 // javascript execution | 233 // javascript execution |
| 234 | 234 |
| 235 // Is the Download Shelf visible for the specified tab? | 235 // Is the Download Shelf visible for the specified browser? |
| 236 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_ShelfVisibility, | 236 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_ShelfVisibility, |
| 237 int /* tab_handle */, | 237 int /* browser_handle */, |
| 238 bool /* is_visible */) | 238 bool /* is_visible */) |
| 239 | 239 |
| 240 // This message requests the number of constrained windows in the tab with | 240 // This message requests the number of constrained windows in the tab with |
| 241 // the given handle. The return value contains the number of constrained | 241 // the given handle. The return value contains the number of constrained |
| 242 // windows, or -1 if the request failed. | 242 // windows, or -1 if the request failed. |
| 243 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_ConstrainedWindowCount, | 243 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_ConstrainedWindowCount, |
| 244 int /* tab_handle */, | 244 int /* tab_handle */, |
| 245 int /* constrained_window_count */) | 245 int /* constrained_window_count */) |
| 246 | 246 |
| 247 // This message requests the handle of the constrained window with the given | 247 // This message requests the handle of the constrained window with the given |
| (...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 927 IPC_SYNC_MESSAGE_ROUTED1_0(AutomationMsg_SetProxyConfig, | 927 IPC_SYNC_MESSAGE_ROUTED1_0(AutomationMsg_SetProxyConfig, |
| 928 std::string /* proxy_config_json_string */) | 928 std::string /* proxy_config_json_string */) |
| 929 | 929 |
| 930 // This message requests the number of blocked popups in a certain tab with | 930 // This message requests the number of blocked popups in a certain tab with |
| 931 // the given handle. The return value is the number of blocked popups, or -1 | 931 // the given handle. The return value is the number of blocked popups, or -1 |
| 932 // if this request failed. | 932 // if this request failed. |
| 933 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_BlockedPopupCount, | 933 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_BlockedPopupCount, |
| 934 int /* tab_handle */, | 934 int /* tab_handle */, |
| 935 int /* blocked_popup_count */) | 935 int /* blocked_popup_count */) |
| 936 | 936 |
| 937 // Sets Download Shelf visibility for the specified browser. |
| 938 IPC_SYNC_MESSAGE_ROUTED2_0(AutomationMsg_SetShelfVisibility, |
| 939 int /* browser_handle */, |
| 940 bool /* is_visible */) |
| 941 |
| 937 IPC_END_MESSAGES(Automation) | 942 IPC_END_MESSAGES(Automation) |
| OLD | NEW |