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 779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
790 /* navigation result */ | 790 /* navigation result */ |
791 AutomationMsg_NavigationResponseValues) | 791 AutomationMsg_NavigationResponseValues) |
792 | 792 |
793 // This message retrieves the last time a navigation occurred in the specified | 793 // This message retrieves the last time a navigation occurred in the specified |
794 // tab. The value is intended to be used with WaitForNavigation. | 794 // tab. The value is intended to be used with WaitForNavigation. |
795 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_GetLastNavigationTime, | 795 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_GetLastNavigationTime, |
796 int /* tab_handle */, | 796 int /* tab_handle */, |
797 int64 /* last navigation time */) | 797 int64 /* last navigation time */) |
798 | 798 |
799 // This messages is used to block until a new navigation occurs (if there is | 799 // This messages is used to block until a new navigation occurs (if there is |
800 // none more recent than the time specified). | 800 // none more recent then the time specified). |
801 IPC_SYNC_MESSAGE_ROUTED2_1(AutomationMsg_WaitForNavigation, | 801 IPC_SYNC_MESSAGE_ROUTED2_1(AutomationMsg_WaitForNavigation, |
802 int /* tab_handle */, | 802 int /* tab_handle */, |
803 int64 /* last navigation time */, | 803 int64 /* last navigation time */, |
804 | 804 |
805 /* navigation result */ | 805 /* navigation result */ |
806 AutomationMsg_NavigationResponseValues) | 806 AutomationMsg_NavigationResponseValues) |
807 | 807 |
808 // This messages sets an int-value preference. | 808 // This messages sets an int-value preference. |
809 IPC_SYNC_MESSAGE_ROUTED3_1(AutomationMsg_SetIntPreference, | 809 IPC_SYNC_MESSAGE_ROUTED3_1(AutomationMsg_SetIntPreference, |
810 int /* browser handle */, | 810 int /* browser handle */, |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1177 // int - the handle of the window that's the context for this click | 1177 // int - the handle of the window that's the context for this click |
1178 // gfx::Point - the location to move to | 1178 // gfx::Point - the location to move to |
1179 IPC_MESSAGE_ROUTED2(AutomationMsg_WindowMouseMove, int, gfx::Point) | 1179 IPC_MESSAGE_ROUTED2(AutomationMsg_WindowMouseMove, int, gfx::Point) |
1180 | 1180 |
1181 // Called when requests should be downloaded using a host browser's | 1181 // Called when requests should be downloaded using a host browser's |
1182 // download mechanism when chrome is being embedded. | 1182 // download mechanism when chrome is being embedded. |
1183 IPC_MESSAGE_ROUTED2(AutomationMsg_DownloadRequestInHost, | 1183 IPC_MESSAGE_ROUTED2(AutomationMsg_DownloadRequestInHost, |
1184 int /* tab_handle */, | 1184 int /* tab_handle */, |
1185 int /* request_id */) | 1185 int /* request_id */) |
1186 | 1186 |
1187 // Toggles the auto-detect encoding setting. | |
1188 // While the setting is global, the tab needs to be specified as it may need | |
1189 // to be reloaded. | |
1190 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_ToggleEncodingAutoDetect, | |
1191 int /* tab handle */, | |
1192 bool /* success */) | |
1193 | |
1194 IPC_END_MESSAGES(Automation) | 1187 IPC_END_MESSAGES(Automation) |
OLD | NEW |