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

Unified Diff: content/shell/shell.h

Issue 11614037: Call ShowRootWindow on NativeWindow's RootWindow to display the window. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Rewored patch Created 7 years, 11 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
« no previous file with comments | « no previous file | content/shell/shell.cc » ('j') | content/shell/shell.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | content/shell/shell.cc » ('j') | content/shell/shell.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698