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

Unified Diff: chrome/browser/chromeos/accessibility/accessibility_manager.cc

Issue 2535723008: Revert "Toggle spoken feedback if two fingers are held down." (Closed)
Patch Set: Don't revert metrics changes 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/chromeos/accessibility/accessibility_manager.cc
diff --git a/chrome/browser/chromeos/accessibility/accessibility_manager.cc b/chrome/browser/chromeos/accessibility/accessibility_manager.cc
index 3fa945e2788641e97715a8fe145cfd18fd5db4c0..744d724485a505756031c6051a4ed8cf0d0698d8 100644
--- a/chrome/browser/chromeos/accessibility/accessibility_manager.cc
+++ b/chrome/browser/chromeos/accessibility/accessibility_manager.cc
@@ -296,12 +296,6 @@ AccessibilityManager::AccessibilityManager()
bundle.GetRawDataResource(IDR_SOUND_EXIT_SCREEN_WAV));
manager->Initialize(SOUND_ENTER_SCREEN,
bundle.GetRawDataResource(IDR_SOUND_ENTER_SCREEN_WAV));
- manager->Initialize(SOUND_SPOKEN_FEEDBACK_TOGGLE_COUNTDOWN_HIGH,
- bundle.GetRawDataResource(
- IDR_SOUND_SPOKEN_FEEDBACK_TOGGLE_COUNTDOWN_HIGH_WAV));
- manager->Initialize(SOUND_SPOKEN_FEEDBACK_TOGGLE_COUNTDOWN_LOW,
- bundle.GetRawDataResource(
- IDR_SOUND_SPOKEN_FEEDBACK_TOGGLE_COUNTDOWN_LOW_WAV));
base::FilePath resources_path;
if (!PathService::Get(chrome::DIR_RESOURCES, &resources_path))
@@ -558,12 +552,6 @@ bool AccessibilityManager::PlayEarcon(int sound_key, PlaySoundOption option) {
return media::SoundsManager::Get()->Play(sound_key);
}
-bool AccessibilityManager::PlaySpokenFeedbackToggleCountdown(int tick_count) {
- return media::SoundsManager::Get()->Play(
- tick_count % 2 ? SOUND_SPOKEN_FEEDBACK_TOGGLE_COUNTDOWN_HIGH
- : SOUND_SPOKEN_FEEDBACK_TOGGLE_COUNTDOWN_LOW);
-}
-
void AccessibilityManager::HandleAccessibilityGesture(ui::AXGesture gesture) {
extensions::EventRouter* event_router =
extensions::EventRouter::Get(profile());

Powered by Google App Engine
This is Rietveld 408576698