Index: content/test/content_browser_test_utils.h |
=================================================================== |
--- content/test/content_browser_test_utils.h (revision 147965) |
+++ content/test/content_browser_test_utils.h (working copy) |
@@ -6,9 +6,14 @@ |
#define CONTENT_TEST_CONTENT_BROWSER_TEST_UTILS_H_ |
#include "googleurl/src/gurl.h" |
+#include "ui/gfx/native_widget_types.h" |
class FilePath; |
+namespace gfx { |
+class Rect; |
+} |
+ |
// A collections of functions designed for use with content_browsertests. |
// Note: if a function here also works with browser_tests, it should be in |
// content\public\test\browser_test_utils.h |
@@ -33,6 +38,13 @@ |
// navigation finishes. |
void NavigateToURL(Shell* window, const GURL& url); |
+// Wait until an application modal dialog is requested. |
+void WaitForAppModalDialog(Shell* window); |
+ |
+#if defined OS_MACOSX |
+void SetWindowBounds(gfx::NativeWindow window, const gfx::Rect& bounds); |
+#endif |
+ |
} // namespace content |
#endif // CONTENT_TEST_CONTENT_BROWSER_TEST_UTILS_H_ |