| 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 887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 898 // This message requests the handle (int64 app-unique identifier) of | 898 // This message requests the handle (int64 app-unique identifier) of |
| 899 // a valid normal browser window, i.e. normal type and non-incognito mode. | 899 // a valid normal browser window, i.e. normal type and non-incognito mode. |
| 900 // On error, the returned handle value is 0. | 900 // On error, the returned handle value is 0. |
| 901 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_FindNormalBrowserWindow, int) | 901 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_FindNormalBrowserWindow, int) |
| 902 | 902 |
| 903 // This message requests the number of normal browser windows, i.e. normal | 903 // This message requests the number of normal browser windows, i.e. normal |
| 904 // type and non-incognito mode that the app currently has open. The return | 904 // type and non-incognito mode that the app currently has open. The return |
| 905 // value is the number of windows. | 905 // value is the number of windows. |
| 906 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_NormalBrowserWindowCount, int) | 906 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_NormalBrowserWindowCount, int) |
| 907 | 907 |
| 908 // Used to put the browser into "extension automation mode" for the | 908 // Used to put the browser into "extension automation mode" for a given |
| 909 // current profile, or turn off the mode. | 909 // set of Chrome Extensions API functions for the current profile, or turn |
| 910 IPC_MESSAGE_ROUTED1(AutomationMsg_SetEnableExtensionAutomation, | 910 // off automation mode. The specified tab is used as the conduit for all |
| 911 std::vector<std::string> /* empty to disable automation, | 911 // automated API functions. It must be an external tab (as in |
| 912 non-empty to enable automation | 912 // AutomationMsg_CreateExternalTab). |
| 913 of the specified API | 913 IPC_MESSAGE_ROUTED2(AutomationMsg_SetEnableExtensionAutomation, |
| 914 functions */) | 914 // Tab handle. |
| 915 int, |
| 916 // Empty to disable automation, non-empty to enable |
| 917 // automation of the specified API functions, single |
| 918 // entry of "*" to enable automation of all API |
| 919 // functions. |
| 920 std::vector<std::string>) |
| 915 | 921 |
| 916 // This message tells the browser to start using the new proxy configuration | 922 // This message tells the browser to start using the new proxy configuration |
| 917 // represented by the given JSON string. The parameters used in the JSON | 923 // represented by the given JSON string. The parameters used in the JSON |
| 918 // string are defined in automation_constants.h. | 924 // string are defined in automation_constants.h. |
| 919 IPC_MESSAGE_ROUTED1(AutomationMsg_SetProxyConfig, | 925 IPC_MESSAGE_ROUTED1(AutomationMsg_SetProxyConfig, |
| 920 std::string /* proxy_config_json_string */) | 926 std::string /* proxy_config_json_string */) |
| 921 | 927 |
| 922 // Sets Download Shelf visibility for the specified browser. | 928 // Sets Download Shelf visibility for the specified browser. |
| 923 IPC_SYNC_MESSAGE_ROUTED2_0(AutomationMsg_SetShelfVisibility, | 929 IPC_SYNC_MESSAGE_ROUTED2_0(AutomationMsg_SetShelfVisibility, |
| 924 int /* browser_handle */, | 930 int /* browser_handle */, |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1156 bool /* show */ ) | 1162 bool /* show */ ) |
| 1157 | 1163 |
| 1158 // This message requests that the mouse be moved to this location, in | 1164 // This message requests that the mouse be moved to this location, in |
| 1159 // window coordinate space. | 1165 // window coordinate space. |
| 1160 // Request: | 1166 // Request: |
| 1161 // int - the handle of the window that's the context for this click | 1167 // int - the handle of the window that's the context for this click |
| 1162 // gfx::Point - the location to move to | 1168 // gfx::Point - the location to move to |
| 1163 IPC_MESSAGE_ROUTED2(AutomationMsg_WindowMouseMove, int, gfx::Point) | 1169 IPC_MESSAGE_ROUTED2(AutomationMsg_WindowMouseMove, int, gfx::Point) |
| 1164 | 1170 |
| 1165 IPC_END_MESSAGES(Automation) | 1171 IPC_END_MESSAGES(Automation) |
| OLD | NEW |