Index: content/shell/shell.h |
diff --git a/content/shell/shell.h b/content/shell/shell.h |
index 82e2a6a233bd3956fcdd0d729be57c12473f70a5..8c973cc846ce16592e0a222616c44410175bbbba 100644 |
--- a/content/shell/shell.h |
+++ b/content/shell/shell.h |
@@ -32,6 +32,7 @@ class Widget; |
class ViewsDelegate; |
} |
namespace aura { |
+class RootWindow; |
namespace client { |
class StackingClient; |
} |
@@ -39,8 +40,13 @@ class StackingClient; |
#endif |
class GURL; |
+ |
namespace content { |
+// Content area size for newly created windows. |
+static const int kTestWindowWidth = 800; |
+static const int kTestWindowHeight = 600; |
+ |
class BrowserContext; |
class ShellJavaScriptDialogCreator; |
class SiteInstance; |
@@ -203,6 +209,10 @@ class Shell : public WebContentsDelegate, |
CHROMEG_CALLBACK_3(Shell, gboolean, OnHighlightURLView, GtkAccelGroup*, |
GObject*, guint, GdkModifierType); |
#endif |
+#if defined(USE_AURA) |
+ static scoped_ptr<aura::RootWindow> CreateRootWindow(int width, |
+ int height); |
+#endif |
scoped_ptr<ShellJavaScriptDialogCreator> dialog_creator_; |