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 998 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1009 int /* tab handle */) | 1009 int /* tab handle */) |
1010 | 1010 |
1011 IPC_MESSAGE_ROUTED1(AutomationMsg_StopAsync, | 1011 IPC_MESSAGE_ROUTED1(AutomationMsg_StopAsync, |
1012 int /* tab handle */) | 1012 int /* tab handle */) |
1013 | 1013 |
1014 // Returns the number of times a filter was used to service an URL request. | 1014 // Returns the number of times a filter was used to service an URL request. |
1015 // See AutomationMsg_SetFilteredInet. | 1015 // See AutomationMsg_SetFilteredInet. |
1016 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_GetFilteredInetHitCount, | 1016 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_GetFilteredInetHitCount, |
1017 int /* hit_count */) | 1017 int /* hit_count */) |
1018 | 1018 |
| 1019 // Is the browser in fullscreen mode? |
| 1020 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_IsFullscreen, |
| 1021 int /* browser_handle */, |
| 1022 bool /* is_fullscreen */) |
| 1023 |
| 1024 // Is the fullscreen bubble visible? |
| 1025 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_IsFullscreenBubbleVisible, |
| 1026 int /* browser_handle */, |
| 1027 bool /* is_visible */) |
| 1028 |
1019 #if defined(OS_LINUX) || defined(OS_MACOSX) | 1029 #if defined(OS_LINUX) || defined(OS_MACOSX) |
1020 // See previous definition of this message for explanation of why it is | 1030 // See previous definition of this message for explanation of why it is |
1021 // defined twice. | 1031 // defined twice. |
1022 IPC_MESSAGE_ROUTED3(AutomationMsg_WindowClick, int, gfx::Point, int) | 1032 IPC_MESSAGE_ROUTED3(AutomationMsg_WindowClick, int, gfx::Point, int) |
1023 #endif | 1033 #endif |
1024 | 1034 |
1025 // This message notifies the AutomationProvider to navigate to a specified | 1035 // This message notifies the AutomationProvider to navigate to a specified |
1026 // url in the tab with given handle. The first parameter is the handle to | 1036 // url in the tab with given handle. The first parameter is the handle to |
1027 // the tab resource. The second parameter is the target url. The third | 1037 // the tab resource. The second parameter is the target url. The third |
1028 // parameter is the number of navigations that are required for a successful | 1038 // parameter is the number of navigations that are required for a successful |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1168 // gfx::Point - the location to move to | 1178 // gfx::Point - the location to move to |
1169 IPC_MESSAGE_ROUTED2(AutomationMsg_WindowMouseMove, int, gfx::Point) | 1179 IPC_MESSAGE_ROUTED2(AutomationMsg_WindowMouseMove, int, gfx::Point) |
1170 | 1180 |
1171 // Called when requests should be downloaded using a host browser's | 1181 // Called when requests should be downloaded using a host browser's |
1172 // download mechanism when chrome is being embedded. | 1182 // download mechanism when chrome is being embedded. |
1173 IPC_MESSAGE_ROUTED2(AutomationMsg_DownloadRequestInHost, | 1183 IPC_MESSAGE_ROUTED2(AutomationMsg_DownloadRequestInHost, |
1174 int /* tab_handle */, | 1184 int /* tab_handle */, |
1175 int /* request_id */) | 1185 int /* request_id */) |
1176 | 1186 |
1177 IPC_END_MESSAGES(Automation) | 1187 IPC_END_MESSAGES(Automation) |
OLD | NEW |