Index: content/shell/shell.h |
diff --git a/content/shell/shell.h b/content/shell/shell.h |
index 82e2a6a233bd3956fcdd0d729be57c12473f70a5..8a80c47ad89ef29db325bde09a49e3c75e4e7013 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; |
} |
@@ -41,6 +42,10 @@ class StackingClient; |
class GURL; |
namespace content { |
+// Content area size for newly created windows. |
+static const int kTestWindowWidth = 800; |
+static const int kTestWindowHeight = 600; |
oshima
2013/01/17 08:57:56
no static in header. just const int is enough.
jochen (gone - plz use gerrit)
2013/01/17 20:02:09
Can you instead add a gfx::Size default_window_siz
Nayan
2013/01/18 18:59:56
Done.
|
+ |
class BrowserContext; |
class ShellJavaScriptDialogCreator; |
class SiteInstance; |
@@ -203,6 +208,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_; |