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

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: cleanup 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
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);

Powered by Google App Engine
This is Rietveld 408576698