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

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

Issue 118441: Fixed 3 tests that failed in hebrew enabled vista... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 6 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 | Annotate | Revision Log
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 #ifndef CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H__ 5 #ifndef CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H__
6 #define CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H__ 6 #define CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "app/message_box_flags.h" 10 #include "app/message_box_flags.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 // Block the thread until the window count becomes the provided value. 92 // Block the thread until the window count becomes the provided value.
93 // Returns true on success. 93 // Returns true on success.
94 bool WaitForWindowCountToBecome(int target_count, int wait_timeout); 94 bool WaitForWindowCountToBecome(int target_count, int wait_timeout);
95 95
96 // Fills the number of open normal browser windows (normal type and 96 // Fills the number of open normal browser windows (normal type and
97 // non-incognito mode) into the given variable, returning true on success. 97 // non-incognito mode) into the given variable, returning true on success.
98 // False likely indicates an IPC error. 98 // False likely indicates an IPC error.
99 bool GetNormalBrowserWindowCount(int* num_windows); 99 bool GetNormalBrowserWindowCount(int* num_windows);
100 100
101 // Gets the locale of the chrome browser, currently all browsers forked from
102 // the main chrome share the same UI locale, returning true on success.
103 // False likely indicates an IPC error.
104 bool GetBrowserLocale(string16* locale);
105
101 // Returns whether an app modal dialog window is showing right now (i.e., a 106 // Returns whether an app modal dialog window is showing right now (i.e., a
102 // javascript alert), and what buttons it contains. 107 // javascript alert), and what buttons it contains.
103 bool GetShowingAppModalDialog(bool* showing_app_modal_dialog, 108 bool GetShowingAppModalDialog(bool* showing_app_modal_dialog,
104 MessageBoxFlags::DialogButton* button); 109 MessageBoxFlags::DialogButton* button);
105 110
106 // Simulates a click on a dialog button. 111 // Simulates a click on a dialog button.
107 bool ClickAppModalDialogButton(MessageBoxFlags::DialogButton button); 112 bool ClickAppModalDialogButton(MessageBoxFlags::DialogButton button);
108 113
109 // Block the thread until a modal dialog is displayed. Returns true on 114 // Block the thread until a modal dialog is displayed. Returns true on
110 // success. 115 // success.
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 // a version resource. 252 // a version resource.
248 bool perform_version_check_; 253 bool perform_version_check_;
249 254
250 // Delay to let the browser execute the command. 255 // Delay to let the browser execute the command.
251 base::TimeDelta command_execution_timeout_; 256 base::TimeDelta command_execution_timeout_;
252 257
253 DISALLOW_COPY_AND_ASSIGN(AutomationProxy); 258 DISALLOW_COPY_AND_ASSIGN(AutomationProxy);
254 }; 259 };
255 260
256 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H__ 261 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H__
OLDNEW
« no previous file with comments | « chrome/test/automation/automation_messages_internal.h ('k') | chrome/test/automation/automation_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698