Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Side by Side Diff: chrome/test/automation/automation_messages_internal.h

Issue 174015: Add automation call to wait for multiple navigations. (Closed)
Patch Set: backwards compatibility, properly done Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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)
OLDNEW
« no previous file with comments | « chrome/test/automated_ui_tests/automated_ui_tests.cc ('k') | chrome/test/automation/automation_proxy_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698