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

Unified Diff: content/shell/shell_aura.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: Created 8 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_aura.cc
diff --git a/content/shell/shell_aura.cc b/content/shell/shell_aura.cc
index a0986c47192f0faab60f726e00ee5c95152a4285..e2f7e3712bd706050ec99a46943411df80c649a8 100644
--- a/content/shell/shell_aura.cc
+++ b/content/shell/shell_aura.cc
@@ -338,6 +338,8 @@ void Shell::PlatformCreateWindow(int width, int height) {
views::Widget::CreateWindowWithBounds(new ShellWindowDelegateView(this),
gfx::Rect(0, 0, width, height));
window_ = window_widget_->GetNativeWindow();
+ window_->GetRootWindow()->SetHostSize(gfx::Size(width, height));
sky 2013/01/08 01:20:05 Why is this needed?
Nayan 2013/01/08 02:25:38 By default, ShellStackingClientAsh creates root wi
sky 2013/01/08 18:28:15 Shouldn't the size passed to CreateWindowWithBound
Nayan 2013/01/13 03:07:18 Done.
+ window_->GetRootWindow()->ShowRootWindow();
window_widget_->Show();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698