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

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: Create RootWindowFirst 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..e2ee2416bb06a3fc23fde0ec0dfd01737faa154c 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,6 +40,11 @@ class StackingClient;
#endif
class GURL;
+
+// Content area size for newly created windows.
sky 2013/01/15 21:53:49 Why does this need to be here?
Nayan 2013/01/15 23:39:03 We use kTestWindowWidth and kTestWindowHeight in b
sky 2013/01/16 00:55:39 Ok, make sense.
+static const int kTestWindowWidth = 800;
+static const int kTestWindowHeight = 600;
+
namespace content {
class BrowserContext;
@@ -241,6 +247,7 @@ class Shell : public WebContentsDelegate,
static views::ViewsDelegate* views_delegate_;
views::Widget* window_widget_;
+ static aura::RootWindow* CreateRootWindow(int, int);
sky 2013/01/15 21:53:49 methods are before members. Additionally name argu
Nayan 2013/01/15 23:39:03 Done.
#endif
bool headless_;
« 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