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

Side by Side Diff: chrome/test/reliability/automated_ui_test_base.h

Issue 10828245: Final set of conversions of automation calls to the JSON interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_RELIABILITY_AUTOMATED_UI_TEST_BASE_H_ 5 #ifndef CHROME_TEST_RELIABILITY_AUTOMATED_UI_TEST_BASE_H_
6 #define CHROME_TEST_RELIABILITY_AUTOMATED_UI_TEST_BASE_H_ 6 #define CHROME_TEST_RELIABILITY_AUTOMATED_UI_TEST_BASE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/test/ui/ui_test.h" 10 #include "chrome/test/ui/ui_test.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 bool RestoreTab(); 100 bool RestoreTab();
101 101
102 // Activates the next tab on the active browser window. 102 // Activates the next tab on the active browser window.
103 // Returns true on success. 103 // Returns true on success.
104 bool SelectNextTab(); 104 bool SelectNextTab();
105 105
106 // Activates the previous tab on the active browser window. 106 // Activates the previous tab on the active browser window.
107 // Returns true on success. 107 // Returns true on success.
108 bool SelectPreviousTab(); 108 bool SelectPreviousTab();
109 109
110 // Displays the bookmark bar.
111 // Returns true on success.
112 bool ShowBookmarkBar();
113
114 // Opens the Downloads page in the current active browser window. 110 // Opens the Downloads page in the current active browser window.
115 // Returns true on success. 111 // Returns true on success.
116 bool ShowDownloads(); 112 bool ShowDownloads();
117 113
118 // Opens the History page in the current active browser window. 114 // Opens the History page in the current active browser window.
119 // Returns true on success. 115 // Returns true on success.
120 bool ShowHistory(); 116 bool ShowHistory();
121 117
122 // Runs the specified browser command in the current active browser. 118 // Runs the specified browser command in the current active browser.
123 // See Browser::ExecuteCommandWithDisposition() for the list of commands. 119 // See Browser::ExecuteCommandWithDisposition() for the list of commands.
(...skipping 28 matching lines...) Expand all
152 scoped_refptr<WindowProxy> GetAndActivateWindowForBrowser( 148 scoped_refptr<WindowProxy> GetAndActivateWindowForBrowser(
153 BrowserProxy* browser); 149 BrowserProxy* browser);
154 150
155 private: 151 private:
156 scoped_refptr<BrowserProxy> active_browser_; 152 scoped_refptr<BrowserProxy> active_browser_;
157 153
158 DISALLOW_COPY_AND_ASSIGN(AutomatedUITestBase); 154 DISALLOW_COPY_AND_ASSIGN(AutomatedUITestBase);
159 }; 155 };
160 156
161 #endif // CHROME_TEST_RELIABILITY_AUTOMATED_UI_TEST_BASE_H_ 157 #endif // CHROME_TEST_RELIABILITY_AUTOMATED_UI_TEST_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698