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

Unified Diff: ash/display/mirror_window_controller.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 | « no previous file | ash/display/window_tree_host_manager.cc » ('j') | ui/aura/window_tree_host.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/mirror_window_controller.cc
diff --git a/ash/display/mirror_window_controller.cc b/ash/display/mirror_window_controller.cc
index 8d48cfd917421cc73d8bc7bb29b245a80bf65bd6..66c0d86dcfd4a0530e0b4b23f74d516451ee0a29 100644
--- a/ash/display/mirror_window_controller.cc
+++ b/ash/display/mirror_window_controller.cc
@@ -192,6 +192,7 @@ void MirrorWindowController::UpdateWindow(
// TODO(oshima): TouchHUD is using idkey.
InitRootWindowSettings(host->window())->display_id = display_info.id();
host->InitHost();
+ host->window()->Show();
#if defined(USE_X11)
if (!display_manager->IsInUnifiedMode()) {
// Mirror window shouldn't handle input events.
« no previous file with comments | « no previous file | ash/display/window_tree_host_manager.cc » ('j') | ui/aura/window_tree_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698