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 983 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
994 int /* tab handle */) | 994 int /* tab handle */) |
995 | 995 |
996 IPC_MESSAGE_ROUTED1(AutomationMsg_StopAsync, | 996 IPC_MESSAGE_ROUTED1(AutomationMsg_StopAsync, |
997 int /* tab handle */) | 997 int /* tab handle */) |
998 | 998 |
999 // Returns the number of times a filter was used to service an URL request. | 999 // Returns the number of times a filter was used to service an URL request. |
1000 // See AutomationMsg_SetFilteredInet. | 1000 // See AutomationMsg_SetFilteredInet. |
1001 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_GetFilteredInetHitCount, | 1001 IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_GetFilteredInetHitCount, |
1002 int /* hit_count */) | 1002 int /* hit_count */) |
1003 | 1003 |
1004 IPC_MESSAGE_ROUTED5(AutomationMsg_AttachExternalTab, | |
1005 int /* tab_handle */, | |
1006 int /* existing_tab_handle */, | |
1007 gfx::NativeWindow /* Tab container window */, | |
1008 gfx::NativeWindow /* Tab window */, | |
1009 int /* disposition */) | |
1010 | |
1011 #if defined(OS_LINUX) || defined(OS_MACOSX) | 1004 #if defined(OS_LINUX) || defined(OS_MACOSX) |
1012 // See previous definition of this message for explanation of why it is | 1005 // See previous definition of this message for explanation of why it is |
1013 // defined twice. | 1006 // defined twice. |
1014 IPC_MESSAGE_ROUTED3(AutomationMsg_WindowClick, int, gfx::Point, int) | 1007 IPC_MESSAGE_ROUTED3(AutomationMsg_WindowClick, int, gfx::Point, int) |
1015 #endif | 1008 #endif |
1016 | 1009 |
1017 // This message notifies the AutomationProvider to navigate to a specified | 1010 // This message notifies the AutomationProvider to navigate to a specified |
1018 // url in the tab with given handle. The first parameter is the handle to | 1011 // url in the tab with given handle. The first parameter is the handle to |
1019 // the tab resource. The second parameter is the target url. The third | 1012 // the tab resource. The second parameter is the target url. The third |
1020 // parameter is the number of navigations that are required for a successful | 1013 // parameter is the number of navigations that are required for a successful |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1066 // values. | 1059 // values. |
1067 IPC_SYNC_MESSAGE_ROUTED2_1( | 1060 IPC_SYNC_MESSAGE_ROUTED2_1( |
1068 AutomationMsg_GoForwardBlockUntilNavigationsComplete, int, int, | 1061 AutomationMsg_GoForwardBlockUntilNavigationsComplete, int, int, |
1069 AutomationMsg_NavigationResponseValues) | 1062 AutomationMsg_NavigationResponseValues) |
1070 | 1063 |
1071 // This message is used by automaton clients to upload histogram data to the | 1064 // This message is used by automaton clients to upload histogram data to the |
1072 // browser process. | 1065 // browser process. |
1073 IPC_MESSAGE_ROUTED1(AutomationMsg_RecordHistograms, | 1066 IPC_MESSAGE_ROUTED1(AutomationMsg_RecordHistograms, |
1074 std::vector<std::string> /* histogram_list */) | 1067 std::vector<std::string> /* histogram_list */) |
1075 | 1068 |
| 1069 IPC_MESSAGE_ROUTED3(AutomationMsg_AttachExternalTab, |
| 1070 int /* tab_handle */, |
| 1071 intptr_t /* cookie */, |
| 1072 int /* disposition */) |
| 1073 |
| 1074 // Sent when the automation client connects to an existing tab. |
| 1075 IPC_SYNC_MESSAGE_ROUTED1_3(AutomationMsg_ConnectExternalTab, |
| 1076 intptr_t /* cookie */, |
| 1077 gfx::NativeWindow /* Tab container window */, |
| 1078 gfx::NativeWindow /* Tab window */, |
| 1079 int /* Handle to the new tab */) |
| 1080 |
1076 IPC_END_MESSAGES(Automation) | 1081 IPC_END_MESSAGES(Automation) |
OLD | NEW |