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

Unified Diff: content/shell/minimal_ash.cc

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: Fix mac build failure 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 | « content/shell/minimal_ash.h ('k') | content/shell/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/minimal_ash.cc
diff --git a/content/shell/minimal_ash.cc b/content/shell/minimal_ash.cc
index e1ff94abd8d95b426521059c8a7c93b9ae8d9c96..fdecda2ad69ad34b08d3877508eacc4698dc21a2 100644
--- a/content/shell/minimal_ash.cc
+++ b/content/shell/minimal_ash.cc
@@ -13,9 +13,10 @@
namespace content {
-MinimalAsh::MinimalAsh() {
+MinimalAsh::MinimalAsh(const gfx::Size& default_window_size) {
root_window_.reset(new aura::RootWindow(
- aura::RootWindow::CreateParams(gfx::Rect(100, 100))));
+ aura::RootWindow::CreateParams(
+ gfx::Rect(default_window_size))));
root_window_->Init();
aura::client::SetStackingClient(root_window_.get(), this);
« no previous file with comments | « content/shell/minimal_ash.h ('k') | content/shell/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698