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

Unified Diff: ash/accelerators/spoken_feedback_toggler.cc

Issue 2078393005: mash: Move accessibility_types.h from ui namespace to ash namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a11y
Patch Set: fix chromevox code generated from js 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/accelerators/accelerator_controller_unittest.cc ('k') | ash/ash_touch_exploration_manager_chromeos.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/spoken_feedback_toggler.cc
diff --git a/ash/accelerators/spoken_feedback_toggler.cc b/ash/accelerators/spoken_feedback_toggler.cc
index d67632781c450794413a2d41363152c212b43af2..dde488a70132b473a4ff91672c786b2d817c85d0 100644
--- a/ash/accelerators/spoken_feedback_toggler.cc
+++ b/ash/accelerators/spoken_feedback_toggler.cc
@@ -8,6 +8,7 @@
#include "ash/accelerators/key_hold_detector.h"
#include "ash/common/accessibility_delegate.h"
+#include "ash/common/accessibility_types.h"
#include "ash/shell.h"
#include "ui/events/event.h"
@@ -52,8 +53,8 @@ bool SpokenFeedbackToggler::ShouldStopEventPropagation() const {
void SpokenFeedbackToggler::OnKeyHold(const ui::KeyEvent* event) {
if (!toggled_) {
toggled_ = true;
- Shell::GetInstance()->accessibility_delegate()->
- ToggleSpokenFeedback(ui::A11Y_NOTIFICATION_SHOW);
+ Shell::GetInstance()->accessibility_delegate()->ToggleSpokenFeedback(
+ A11Y_NOTIFICATION_SHOW);
}
}
« no previous file with comments | « ash/accelerators/accelerator_controller_unittest.cc ('k') | ash/ash_touch_exploration_manager_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698