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

Unified Diff: ash/ash_touch_exploration_manager_chromeos.cc

Issue 410783002: Corner Passthrough for Accessibility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@side-gestures
Patch Set: Earcons through manager and delegate Created 6 years, 5 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/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 f5e212b9525c6ec55b9f291c1ad3a52a6d438d42..7b59d304369f9e76211d4b8c8e59477aa5616ff3 100644
--- a/ash/ash_touch_exploration_manager_chromeos.cc
+++ b/ash/ash_touch_exploration_manager_chromeos.cc
@@ -57,6 +57,11 @@ void AshTouchExplorationManager::SetOutputLevel(int volume) {
audio_handler_->SetOutputMute(true);
}
+void AshTouchExplorationManager::PlayCornerPassthroughEarcon() {
+ Shell::GetInstance()->accessibility_delegate()->PlayEarcon(
+ chromeos::SOUND_PASSTHROUGH);
+}
+
void AshTouchExplorationManager::UpdateTouchExplorationState() {
AccessibilityDelegate* delegate =
Shell::GetInstance()->accessibility_delegate();

Powered by Google App Engine
This is Rietveld 408576698