| 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 then the time specified). | 800 // none more recent than 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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1155 int /* Type (Browser::Type) */, | 1155 int /* Type (Browser::Type) */, |
| 1156 bool /* show */ ) | 1156 bool /* show */ ) |
| 1157 | 1157 |
| 1158 // This message requests that the mouse be moved to this location, in | 1158 // This message requests that the mouse be moved to this location, in |
| 1159 // window coordinate space. | 1159 // window coordinate space. |
| 1160 // Request: | 1160 // Request: |
| 1161 // int - the handle of the window that's the context for this click | 1161 // int - the handle of the window that's the context for this click |
| 1162 // gfx::Point - the location to move to | 1162 // gfx::Point - the location to move to |
| 1163 IPC_MESSAGE_ROUTED2(AutomationMsg_WindowMouseMove, int, gfx::Point) | 1163 IPC_MESSAGE_ROUTED2(AutomationMsg_WindowMouseMove, int, gfx::Point) |
| 1164 | 1164 |
| 1165 // Toggles the auto-detect encoding setting. |
| 1166 // While the setting is global, the tab needs to be specified as it may need |
| 1167 // to be reloaded. |
| 1168 IPC_SYNC_MESSAGE_ROUTED1_1(AutomationMsg_ToggleEncodingAutoDetect, |
| 1169 int /* tab handle */, |
| 1170 bool /* success */) |
| 1171 |
| 1165 IPC_END_MESSAGES(Automation) | 1172 IPC_END_MESSAGES(Automation) |
| OLD | NEW |