Index: chrome/test/ui/ui_test.h |
=================================================================== |
--- chrome/test/ui/ui_test.h (revision 1688) |
+++ chrome/test/ui/ui_test.h (working copy) |
@@ -127,6 +127,12 @@ |
// 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 |