Index: chrome/test/base/ui_test_utils.h |
=================================================================== |
--- chrome/test/base/ui_test_utils.h (revision 154448) |
+++ chrome/test/base/ui_test_utils.h (working copy) |
@@ -36,6 +36,7 @@ |
class BookmarkModel; |
class Browser; |
class FilePath; |
+class LocationBar; |
class Profile; |
class SkBitmap; |
class TabContents; |
@@ -172,6 +173,10 @@ |
// Download the given file and waits for the download to complete. |
void DownloadURL(Browser* browser, const GURL& download_url); |
+// Send the given text to the omnibox and wait until it's updated. |
+void SendToOmniboxAndSubmit(LocationBar* location_bar, |
+ const std::string& input); |
+ |
// Brings the native window for |browser| to the foreground. Returns true on |
// success. |
bool BringBrowserWindowToFront(const Browser* browser) WARN_UNUSED_RESULT; |