Index: chrome/test/base/ui_test_utils.h |
diff --git a/chrome/test/base/ui_test_utils.h b/chrome/test/base/ui_test_utils.h |
index 3d96ab3c6be491c452eac76ca53c4cf8070915b6..8afcfe8eb76ad6ac6de99fed895efe321eb38b85 100644 |
--- a/chrome/test/base/ui_test_utils.h |
+++ b/chrome/test/base/ui_test_utils.h |
@@ -13,6 +13,7 @@ |
#include "base/basictypes.h" |
#include "base/memory/ref_counted.h" |
+#include "base/memory/scoped_ptr.h" |
#include "base/strings/string16.h" |
#include "chrome/browser/history/history_service.h" |
#include "content/public/browser/notification_details.h" |
@@ -26,6 +27,7 @@ |
#include "ui/gfx/native_widget_types.h" |
#include "url/gurl.h" |
+class AppModalDialogWaiter; |
class AppModalDialog; |
class Browser; |
class LocationBar; |
@@ -126,6 +128,10 @@ GURL GetTestUrl(const base::FilePath& dir, const base::FilePath& file); |
// Generate the path of the build directory, relative to the source root. |
bool GetRelativeBuildDirectory(base::FilePath* build_dir); |
+// Creates an waiter object to observe that an application modal dialog |
+// is shown. |
+scoped_ptr<AppModalDialogWaiter> CreateAppModalDialogWaiter(); |
+ |
// Blocks until an application modal dialog is showns and returns it. |
AppModalDialog* WaitForAppModalDialog(); |