Chromium Code Reviews| 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 81fa90400464f8bb4f7412a17367df9255e17bfe..e660ea9f7986e1ae2dcdb528fad804934751ad17 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 |
|
msw
2014/10/22 22:53:32
nit: "a waiter"
|
| +// is shown. |
| +scoped_ptr<AppModalDialogWaiter> CreateAppModalDialogWaiter(); |
| + |
| // Blocks until an application modal dialog is showns and returns it. |
| AppModalDialog* WaitForAppModalDialog(); |