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

Unified Diff: ash/common/accelerators/accelerator_controller.cc

Issue 2775973002: Promotes more accessors from WmShell to Shell (Closed)
Patch Set: feedback Created 3 years, 9 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/ash_touch_exploration_manager_chromeos.cc ('k') | ash/common/keyboard/keyboard_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/accelerators/accelerator_controller.cc
diff --git a/ash/common/accelerators/accelerator_controller.cc b/ash/common/accelerators/accelerator_controller.cc
index 926149fe8c8e414a9fe4d2a4d680dabaf54fce40..dc82125e43f62affc6e61c5c1f815d7206e7853f 100644
--- a/ash/common/accelerators/accelerator_controller.cc
+++ b/ash/common/accelerators/accelerator_controller.cc
@@ -175,7 +175,7 @@ void HandleCycleBackwardMRU(const ui::Accelerator& accelerator) {
if (accelerator.key_code() == ui::VKEY_TAB)
base::RecordAction(base::UserMetricsAction("Accel_PrevWindow_Tab"));
- WmShell::Get()->window_cycle_controller()->HandleCycleWindow(
+ Shell::Get()->window_cycle_controller()->HandleCycleWindow(
WindowCycleController::BACKWARD);
}
@@ -183,7 +183,7 @@ void HandleCycleForwardMRU(const ui::Accelerator& accelerator) {
if (accelerator.key_code() == ui::VKEY_TAB)
base::RecordAction(base::UserMetricsAction("Accel_NextWindow_Tab"));
- WmShell::Get()->window_cycle_controller()->HandleCycleWindow(
+ Shell::Get()->window_cycle_controller()->HandleCycleWindow(
WindowCycleController::FORWARD);
}
@@ -401,7 +401,7 @@ void HandleToggleFullscreen(const ui::Accelerator& accelerator) {
void HandleToggleOverview() {
base::RecordAction(base::UserMetricsAction("Accel_Overview_F5"));
- WmShell::Get()->window_selector_controller()->ToggleOverview();
+ Shell::Get()->window_selector_controller()->ToggleOverview();
}
bool CanHandleWindowSnap() {
@@ -1181,7 +1181,7 @@ void AcceleratorController::PerformAction(AcceleratorAction action,
HandleToggleSpokenFeedback();
break;
case TOGGLE_WIFI:
- WmShell::Get()->system_tray_notifier()->NotifyRequestToggleWifi();
+ Shell::Get()->system_tray_notifier()->NotifyRequestToggleWifi();
break;
case VOLUME_DOWN:
HandleVolumeDown(volume_controller_.get(), accelerator);
« no previous file with comments | « ash/ash_touch_exploration_manager_chromeos.cc ('k') | ash/common/keyboard/keyboard_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698