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

Unified Diff: chrome/test/reliability/automated_ui_test_base.cc

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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/reliability/automated_ui_test_base.cc
diff --git a/chrome/test/reliability/automated_ui_test_base.cc b/chrome/test/reliability/automated_ui_test_base.cc
index 3679435624c62749524945af3ac5626622174b61..ec8a70455809e2e3ea75d85d1dd666196b6ed4d1 100644
--- a/chrome/test/reliability/automated_ui_test_base.cc
+++ b/chrome/test/reliability/automated_ui_test_base.cc
@@ -317,27 +317,6 @@ bool AutomatedUITestBase::SelectPreviousTab() {
return RunCommand(IDC_SELECT_PREVIOUS_TAB);
}
-bool AutomatedUITestBase::ShowBookmarkBar() {
- bool is_visible;
- bool is_animating;
- bool is_detached;
- if (!active_browser()->GetBookmarkBarVisibility(&is_visible,
- &is_animating,
- &is_detached)) {
- return false;
- }
-
- if (is_visible) {
- // If the bar is visible, then issuing the command again will toggle it.
- return true;
- }
-
- if (!RunCommandAsync(IDC_SHOW_BOOKMARK_BAR))
- return false;
-
- return WaitForBookmarkBarVisibilityChange(active_browser(), true);
-}
-
bool AutomatedUITestBase::ShowDownloads() {
return RunCommand(IDC_SHOW_DOWNLOADS);
}

Powered by Google App Engine
This is Rietveld 408576698