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

Unified Diff: ash/ash_touch_exploration_manager_chromeos.cc

Issue 2396913002: Stop chromevox audio and clear focus highlight on switch to arc app (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | ash/common/accessibility_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/ash_touch_exploration_manager_chromeos.cc
diff --git a/ash/ash_touch_exploration_manager_chromeos.cc b/ash/ash_touch_exploration_manager_chromeos.cc
index 058553043f958349afe4d30cf0027243aa344ea8..68aba77b51297ebdc0e0d4ba7b74b408e8c05046 100644
--- a/ash/ash_touch_exploration_manager_chromeos.cc
+++ b/ash/ash_touch_exploration_manager_chromeos.cc
@@ -121,6 +121,10 @@ void AshTouchExplorationManager::UpdateTouchExplorationState() {
root_window_controller_->GetRootWindow(), this));
} else if (!spoken_feedback_enabled || pass_through_surface) {
touch_exploration_controller_.reset();
+ if (spoken_feedback_enabled) {
+ SilenceSpokenFeedback();
+ WmShell::Get()->accessibility_delegate()->ClearFocusHighlight();
+ }
}
}
« no previous file with comments | « no previous file | ash/common/accessibility_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698