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

Unified Diff: ui/aura/window_tree_host.cc

Issue 2567293004: Makes WindowTreeHost::InitHost() not Show the window (Closed)
Patch Set: tweak Created 4 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 | « ui/aura/window_event_dispatcher_unittest.cc ('k') | ui/views/mus/native_widget_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_tree_host.cc
diff --git a/ui/aura/window_tree_host.cc b/ui/aura/window_tree_host.cc
index c0baf2d340be172b9f9c303620a0b5d23dc4a30d..c074271903206e9d7bd1f011fc1da515769952b3 100644
--- a/ui/aura/window_tree_host.cc
+++ b/ui/aura/window_tree_host.cc
@@ -63,7 +63,6 @@ void WindowTreeHost::InitHost() {
InitCompositor();
UpdateRootWindowSizeInPixels(GetBoundsInPixels().size());
Env::GetInstance()->NotifyHostInitialized(this);
- window()->Show();
mfomitchev 2016/12/13 19:33:53 Why not add this to WindowTreeHost::Show? Otherwis
sky 2016/12/13 21:38:46 Good idea, done. I could see the argument for Hid
}
void WindowTreeHost::AddObserver(WindowTreeHostObserver* observer) {
« no previous file with comments | « ui/aura/window_event_dispatcher_unittest.cc ('k') | ui/views/mus/native_widget_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698