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

Unified Diff: content/test/content_browser_test_utils.h

Issue 10806056: Move plugin_browsertests.cc from browser_tests to content_browsertests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync to mac+win fixes Created 8 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: 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_

Powered by Google App Engine
This is Rietveld 408576698