diff options
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 |