OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |