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

Unified Diff: ash/accelerators/spoken_feedback_toggler.cc

Issue 2738133003: Promotes a handful of members from WmShell to Shell (Closed)
Patch Set: merge 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
Index: ash/accelerators/spoken_feedback_toggler.cc
diff --git a/ash/accelerators/spoken_feedback_toggler.cc b/ash/accelerators/spoken_feedback_toggler.cc
index e62e75c1365693d290101871a42563d16a10d2ed..942208a4117d5fa112195ab5bc095ef5528e79e5 100644
--- a/ash/accelerators/spoken_feedback_toggler.cc
+++ b/ash/accelerators/spoken_feedback_toggler.cc
@@ -9,7 +9,7 @@
#include "ash/accelerators/key_hold_detector.h"
#include "ash/common/accessibility_delegate.h"
#include "ash/common/accessibility_types.h"
-#include "ash/common/wm_shell.h"
+#include "ash/shell.h"
#include "ui/events/event.h"
namespace ash {
@@ -53,7 +53,7 @@ bool SpokenFeedbackToggler::ShouldStopEventPropagation() const {
void SpokenFeedbackToggler::OnKeyHold(const ui::KeyEvent* event) {
if (!toggled_) {
toggled_ = true;
- WmShell::Get()->accessibility_delegate()->ToggleSpokenFeedback(
+ Shell::GetInstance()->accessibility_delegate()->ToggleSpokenFeedback(
A11Y_NOTIFICATION_SHOW);
}
}
« no previous file with comments | « ash/accelerators/accelerator_controller_unittest.cc ('k') | ash/accelerators/spoken_feedback_toggler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698