diff options
author | finnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-05 21:36:57 +0000 |
---|---|---|
committer | finnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-05 21:36:57 +0000 |
commit | c2cbeb9dd8aec543d5c6f0fe2aa99c1f8c655351 (patch) | |
tree | 6f71cefde95cc33d0f656917a48df2466f8c655a /chrome/test/ui/ui_test.h | |
parent | 970556302b1ea50d4fc680d3656269cd50f6cf08 (diff) | |
download | chromium_src-c2cbeb9dd8aec543d5c6f0fe2aa99c1f8c655351.zip chromium_src-c2cbeb9dd8aec543d5c6f0fe2aa99c1f8c655351.tar.gz chromium_src-c2cbeb9dd8aec543d5c6f0fe2aa99c1f8c655351.tar.bz2 |
Readding UI test I pulled yesterday; hopefully the bots will like it more now. I need to wait for the bookmark bar to become visible so I plumbed in similar code as for the Find box instead of using Sleep's.
Review URL: http://codereview.chromium.org/473
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1809 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui/ui_test.h')
-rw-r--r-- | chrome/test/ui/ui_test.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/test/ui/ui_test.h b/chrome/test/ui/ui_test.h index 20c8b1b..fe080a0 100644 --- a/chrome/test/ui/ui_test.h +++ b/chrome/test/ui/ui_test.h @@ -127,6 +127,12 @@ class UITest : public testing::Test { // if the window doesn't appear within a specific time. bool WaitForFindWindowFullyVisible(TabProxy* tab); + // Waits until the Bookmark bar has stopped animating and become fully visible + // (if |wait_for_open| is true) or fully hidden (if |wait_for_open| is false). + // This function can time out (in which case it returns false). + bool WaitForBookmarkBarVisibilityChange(BrowserProxy* browser, + bool wait_for_open); + // Closes the specified browser. Returns true if the browser was closed. // This call is blocking. |application_closed| is set to true if this was // the last browser window (and therefore as a result of it closing the |