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

Unified Diff: chrome/test/base/ui_test_utils.h

Issue 10913043: Convert the popups pyauto test to browser_tests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros 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
« no previous file with comments | « chrome/browser/popup_blocker_browsertest.cc ('k') | chrome/test/base/ui_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/browser/popup_blocker_browsertest.cc ('k') | chrome/test/base/ui_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698