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

Unified Diff: chrome/browser/ui/ash/chrome_shell_delegate.cc

Issue 2584063002: Re-land: Toggle spoken feedback if two fingers are held down. (Closed)
Patch Set: Only toggle spoken feedback on CFM devices Created 4 years 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: chrome/browser/ui/ash/chrome_shell_delegate.cc
diff --git a/chrome/browser/ui/ash/chrome_shell_delegate.cc b/chrome/browser/ui/ash/chrome_shell_delegate.cc
index 2f1d12e8a0d13df9abd4f55fe091aab9a1190280..a452d0a1c341ffe13f1ca5061d30c42b5271c9c1 100644
--- a/chrome/browser/ui/ash/chrome_shell_delegate.cc
+++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc
@@ -317,6 +317,16 @@ class AccessibilityDelegateImpl : public ash::AccessibilityDelegate {
return ash::A11Y_ALERT_NONE;
}
+ bool ShouldToggleSpokenFeedbackViaTouch() override {
+ DCHECK(AccessibilityManager::Get());
+ return AccessibilityManager::Get()->ShouldToggleSpokenFeedbackViaTouch();
+ }
+
+ void PlaySpokenFeedbackToggleCountdown(int tick_count) override {
+ DCHECK(AccessibilityManager::Get());
+ AccessibilityManager::Get()->PlaySpokenFeedbackToggleCountdown(tick_count);
+ }
+
void PlayEarcon(int sound_key) override {
DCHECK(AccessibilityManager::Get());
AccessibilityManager::Get()->PlayEarcon(
« no previous file with comments | « chrome/browser/resources/chromeos/sounds/spoken_feedback_toggle_countdown_low.wav ('k') | chromeos/audio/chromeos_sounds.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698