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

Unified Diff: ash/display/display_controller.cc

Issue 331643004: Update the window labels if they change in overview mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Sky's comments Created 6 years, 6 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 | ash/wm/overview/window_selector_item.h » ('j') | ash/wm/overview/window_selector_item.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_controller.cc
diff --git a/ash/display/display_controller.cc b/ash/display/display_controller.cc
index f13727718bb52873f583011728a0afb4b18d3082..4fb77b8f7cf314f6006101954daf39a30e45b4bb 100644
--- a/ash/display/display_controller.cc
+++ b/ash/display/display_controller.cc
@@ -731,7 +731,7 @@ AshWindowTreeHost* DisplayController::AddWindowTreeHostForDisplay(
aura::WindowTreeHost* host = ash_host->AsWindowTreeHost();
host->window()->SetName(base::StringPrintf("RootWindow-%d", host_count++));
- host->window()->set_title(base::UTF8ToUTF16(display_info.name()));
+ host->window()->SetTitle(base::UTF8ToUTF16(display_info.name()));
host->compositor()->SetBackgroundColor(SK_ColorBLACK);
// No need to remove our observer observer because the DisplayController
// outlives the host.
« no previous file with comments | « no previous file | ash/wm/overview/window_selector_item.h » ('j') | ash/wm/overview/window_selector_item.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698