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

Unified Diff: chrome/test/ui_test_utils.h

Issue 149460: Convert JavascriptAlertActivatesTab to browser_tests framework. (Closed)
Patch Set: kill duplication Created 11 years, 5 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
Index: chrome/test/ui_test_utils.h
diff --git a/chrome/test/ui_test_utils.h b/chrome/test/ui_test_utils.h
index 34c8545945aa7e6d5cde8a696634a308145ab002..3b2aef913d7bc50ca553d38bb3242196eadea395 100644
--- a/chrome/test/ui_test_utils.h
+++ b/chrome/test/ui_test_utils.h
@@ -11,6 +11,7 @@
#include "base/string16.h"
#include "chrome/common/notification_observer.h"
+class AppModalDialog;
class Browser;
class DownloadManager;
class GURL;
@@ -85,6 +86,10 @@ GURL GetTestUrl(const std::wstring& dir, const std::wstring file);
// Creates an observer that waits for |download_manager| to report that it
// has a total of |count| downloads that have been handles
void WaitForDownloadCount(DownloadManager* download_manager, size_t count);
+
+// Blocks until an application modal dialog is showns and returns it.
+AppModalDialog* WaitForAppModalDialog();
+
}
#endif // CHROME_TEST_UI_TEST_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698