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

Unified Diff: ash/system/overview/overview_button_tray.cc

Issue 2084503007: Moves WindowSelectorController onto WmShell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_overview
Patch Set: fix mash Created 4 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 | « ash/shell.cc ('k') | ash/system/overview/overview_button_tray_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/overview/overview_button_tray.cc
diff --git a/ash/system/overview/overview_button_tray.cc b/ash/system/overview/overview_button_tray.cc
index 27dac89202820b43b15f6a664c534ee3cb8f8544..4e5f3a3f25578487b6b54e033ea117307a0a2a85 100644
--- a/ash/system/overview/overview_button_tray.cc
+++ b/ash/system/overview/overview_button_tray.cc
@@ -72,7 +72,7 @@ void OverviewButtonTray::UpdateAfterLoginStatusChange(LoginStatus status) {
bool OverviewButtonTray::PerformAction(const ui::Event& event) {
WindowSelectorController* controller =
- Shell::GetInstance()->window_selector_controller();
+ WmShell::Get()->window_selector_controller();
controller->ToggleOverview();
SetDrawBackgroundAsActive(controller->IsSelecting());
Shell::GetInstance()->metrics()->RecordUserMetricsAction(UMA_TRAY_OVERVIEW);
« no previous file with comments | « ash/shell.cc ('k') | ash/system/overview/overview_button_tray_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698