| 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 877 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 888 // On error, the returned handle value is 0. | 888 // On error, the returned handle value is 0. |
| 889 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_FindNormalBrowserWindow, int) | 889 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_FindNormalBrowserWindow, int) |
| 890 | 890 |
| 891 // This message requests the number of normal browser windows, i.e. normal | 891 // This message requests the number of normal browser windows, i.e. normal |
| 892 // type and non-incognito mode that the app currently has open. The return | 892 // type and non-incognito mode that the app currently has open. The return |
| 893 // value is the number of windows. | 893 // value is the number of windows. |
| 894 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_NormalBrowserWindowCount, int) | 894 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_NormalBrowserWindowCount, int) |
| 895 | 895 |
| 896 // Used to put the browser into "extension automation mode" for the | 896 // Used to put the browser into "extension automation mode" for the |
| 897 // current profile, or turn off the mode. | 897 // current profile, or turn off the mode. |
| 898 IPC_SYNC_MESSAGE_ROUTED1_0(AutomationMsg_SetEnableExtensionAutomation, | 898 IPC_MESSAGE_ROUTED1(AutomationMsg_SetEnableExtensionAutomation, |
| 899 bool /* true to enable extension automation */) | 899 bool /* true to enable extension automation */) |
| 900 | 900 |
| 901 // This message tells the browser to start using the new proxy configuration | 901 // This message tells the browser to start using the new proxy configuration |
| 902 // represented by the given JSON string. The parameters used in the JSON | 902 // represented by the given JSON string. The parameters used in the JSON |
| 903 // string are defined in automation_constants.h. | 903 // string are defined in automation_constants.h. |
| 904 IPC_SYNC_MESSAGE_ROUTED1_0(AutomationMsg_SetProxyConfig, | 904 IPC_MESSAGE_ROUTED1(AutomationMsg_SetProxyConfig, |
| 905 std::string /* proxy_config_json_string */) | 905 std::string /* proxy_config_json_string */) |
| 906 | 906 |
| 907 // Sets Download Shelf visibility for the specified browser. | 907 // Sets Download Shelf visibility for the specified browser. |
| 908 IPC_SYNC_MESSAGE_ROUTED2_0(AutomationMsg_SetShelfVisibility, | 908 IPC_SYNC_MESSAGE_ROUTED2_0(AutomationMsg_SetShelfVisibility, |
| 909 int /* browser_handle */, | 909 int /* browser_handle */, |
| 910 bool /* is_visible */) | 910 bool /* is_visible */) |
| 911 | 911 |
| 912 // This message requests the number of blocked popups in a certain tab with | 912 // This message requests the number of blocked popups in a certain tab with |
| 913 // the given handle. The return value is the number of blocked popups, or -1 | 913 // the given handle. The return value is the number of blocked popups, or -1 |
| 914 // if this request failed. | 914 // if this request failed. |
| 915 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_BlockedPopupCount, | 915 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_BlockedPopupCount, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 929 int /* the x coordinate for displaying the menu */, | 929 int /* the x coordinate for displaying the menu */, |
| 930 int /* the y coordinate for displaying the menu */, | 930 int /* the y coordinate for displaying the menu */, |
| 931 int /* align flags */) | 931 int /* align flags */) |
| 932 | 932 |
| 933 IPC_MESSAGE_ROUTED2(AutomationMsg_ForwardContextMenuCommandToChrome, | 933 IPC_MESSAGE_ROUTED2(AutomationMsg_ForwardContextMenuCommandToChrome, |
| 934 int /* tab_handle */, | 934 int /* tab_handle */, |
| 935 int /* selected_command */) | 935 int /* selected_command */) |
| 936 #endif // OS_WIN | 936 #endif // OS_WIN |
| 937 | 937 |
| 938 IPC_END_MESSAGES(Automation) | 938 IPC_END_MESSAGES(Automation) |
| OLD | NEW |