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

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: Added tests and Rebase off Master 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..8f105c0f88f58c5791162145fd2b562e301d059e 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::PlayEarCon() {
+ if (!VolumeAdjustSoundEnabled())
+ return;
+ PlaySystemSoundIfSpokenFeedback(chromeos::SOUND_VOLUME_ADJUST);
aboxhall 2014/07/24 18:26:34 nit: indentation
lisayin 2014/07/25 20:11:57 Done.
+}
void AshTouchExplorationManager::UpdateTouchExplorationState() {
AccessibilityDelegate* delegate =
Shell::GetInstance()->accessibility_delegate();

Powered by Google App Engine
This is Rietveld 408576698