| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 // string, and the second parameter is the cookie name and value to be set. | 75 // string, and the second parameter is the cookie name and value to be set. |
| 76 // The return value is a non-negative value on success. | 76 // The return value is a non-negative value on success. |
| 77 IPC_SYNC_MESSAGE_ROUTED3_1(AutomationMsg_SetCookie, GURL, std::string, | 77 IPC_SYNC_MESSAGE_ROUTED3_1(AutomationMsg_SetCookie, GURL, std::string, |
| 78 int, int) | 78 int, int) |
| 79 | 79 |
| 80 // This message notifies the AutomationProvider to navigate to a specified | 80 // This message notifies the AutomationProvider to navigate to a specified |
| 81 // url in the tab with given handle. The first parameter is the handle to | 81 // url in the tab with given handle. The first parameter is the handle to |
| 82 // the tab resource. The second parameter is the target url. The return | 82 // the tab resource. The second parameter is the target url. The return |
| 83 // value contains a status code which is nonnegative on success. | 83 // value contains a status code which is nonnegative on success. |
| 84 // See AutomationMsg_NavigationResponseValues for the return value. | 84 // See AutomationMsg_NavigationResponseValues for the return value. |
| 85 // TODO(phajdan.jr): Remove when the reference build gets updated. |
| 85 IPC_SYNC_MESSAGE_ROUTED2_1(AutomationMsg_NavigateToURL, int, GURL, | 86 IPC_SYNC_MESSAGE_ROUTED2_1(AutomationMsg_NavigateToURL, int, GURL, |
| 86 AutomationMsg_NavigationResponseValues) | 87 AutomationMsg_NavigationResponseValues) |
| 87 | 88 |
| 88 // This message is used to implement the asynchronous version of | 89 // This message is used to implement the asynchronous version of |
| 89 // NavigateToURL. | 90 // NavigateToURL. |
| 90 IPC_SYNC_MESSAGE_ROUTED2_1(AutomationMsg_NavigationAsync, | 91 IPC_SYNC_MESSAGE_ROUTED2_1(AutomationMsg_NavigationAsync, |
| 91 int /* tab handle */, | 92 int /* tab handle */, |
| 92 GURL, | 93 GURL, |
| 93 bool /* result */) | 94 bool /* result */) |
| 94 | 95 |
| (...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1001 gfx::NativeWindow /* Tab container window */, | 1002 gfx::NativeWindow /* Tab container window */, |
| 1002 gfx::NativeWindow /* Tab window */, | 1003 gfx::NativeWindow /* Tab window */, |
| 1003 int /* disposition */) | 1004 int /* disposition */) |
| 1004 | 1005 |
| 1005 #if defined(OS_LINUX) || defined(OS_MACOSX) | 1006 #if defined(OS_LINUX) || defined(OS_MACOSX) |
| 1006 // See previous definition of this message for explanation of why it is | 1007 // See previous definition of this message for explanation of why it is |
| 1007 // defined twice. | 1008 // defined twice. |
| 1008 IPC_MESSAGE_ROUTED3(AutomationMsg_WindowClick, int, gfx::Point, int) | 1009 IPC_MESSAGE_ROUTED3(AutomationMsg_WindowClick, int, gfx::Point, int) |
| 1009 #endif | 1010 #endif |
| 1010 | 1011 |
| 1012 // This message notifies the AutomationProvider to navigate to a specified |
| 1013 // url in the tab with given handle. The first parameter is the handle to |
| 1014 // the tab resource. The second parameter is the target url. The third |
| 1015 // parameter is the number of navigations that are required for a successful |
| 1016 // return value. See AutomationMsg_NavigationResponseValues for the return |
| 1017 // value. |
| 1018 IPC_SYNC_MESSAGE_ROUTED3_1( |
| 1019 AutomationMsg_NavigateToURLBlockUntilNavigationsComplete, int, GURL, int, |
| 1020 AutomationMsg_NavigationResponseValues) |
| 1021 |
| 1011 IPC_END_MESSAGES(Automation) | 1022 IPC_END_MESSAGES(Automation) |
| OLD | NEW |