Index: chrome/test/automated_ui_tests/automated_ui_test_base.h |
diff --git a/chrome/test/automated_ui_tests/automated_ui_test_base.h b/chrome/test/automated_ui_tests/automated_ui_test_base.h |
index cc4fb8648cfeb5a04fa8e608a306b061c707fb9d..c4b9429d4cb8fae35c7aed7db4e5244bf8a2d5c4 100644 |
--- a/chrome/test/automated_ui_tests/automated_ui_test_base.h |
+++ b/chrome/test/automated_ui_tests/automated_ui_test_base.h |
@@ -57,6 +57,9 @@ class AutomatedUITestBase : public UITest { |
// drag the active tab over. |
bool DragActiveTab(bool drag_right); |
+ // Activates "find in page" on the current page. Returns true on success. |
+ bool FindInPage(); |
+ |
// Go forward in active tab. |
// Returns true if successful, false otherwise. |
bool ForwardButton(); |
@@ -64,6 +67,10 @@ class AutomatedUITestBase : public UITest { |
// Opens an OffTheRecord browser window. |
bool GoOffTheRecord(); |
+ // Navigates to the Home page. |
+ // Returns true if call to activate the accelerator is successful. |
+ bool Home(); |
+ |
// Navigates the activate tab to given url. |
bool Navigate(const GURL& url); |
@@ -88,6 +95,26 @@ class AutomatedUITestBase : public UITest { |
// Returns true if the tab is successfully restored. |
bool RestoreTab(); |
+ // Activates the next tab on the active browser window. |
+ // Returns true on success. |
+ bool SelectNextTab(); |
+ |
+ // Activates the previous tab on the active browser window. |
+ // Returns true on success. |
+ bool SelectPreviousTab(); |
+ |
+ // Displays the bookmark bar. |
+ // Returns true on success. |
+ bool ShowBookmarkBar(); |
+ |
+ // Opens the Downloads page in the current active browser window. |
+ // Returns true on success. |
+ bool ShowDownloads(); |
+ |
+ // Opens the History page in the current active browser window. |
+ // Returns true on success. |
+ bool ShowHistory(); |
+ |
// Runs the specified browser command in the current active browser. |
// See browser_commands.cc for the list of commands. |
// Returns true if the call is successfully dispatched. |