diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-23 23:14:59 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-23 23:14:59 +0000 |
commit | 95b2791c43c87191139175592c5e43ad17972d2a (patch) | |
tree | 717e46b1e28abbef00243c2d3dc6a39a910f0805 /content/test/content_browser_test_utils.h | |
parent | 70e7aeaa9fadc8709a3265fc6b0c035405af591d (diff) | |
download | chromium_src-95b2791c43c87191139175592c5e43ad17972d2a.zip chromium_src-95b2791c43c87191139175592c5e43ad17972d2a.tar.gz chromium_src-95b2791c43c87191139175592c5e43ad17972d2a.tar.bz2 |
Move plugin_browsertests.cc from browser_tests to content_browsertests.
BUG=90448
Review URL: https://chromiumcodereview.appspot.com/10806056
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147983 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/test/content_browser_test_utils.h')
-rw-r--r-- | content/test/content_browser_test_utils.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/content/test/content_browser_test_utils.h b/content/test/content_browser_test_utils.h index 5957d11..30912bd 100644 --- a/content/test/content_browser_test_utils.h +++ b/content/test/content_browser_test_utils.h @@ -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 @@ GURL GetTestUrl(const char* dir, const char* file); // 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_ |