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

Side by Side Diff: chrome/browser/chromeos/accessibility/accessibility_manager.h

Issue 2476843003: Toggle spoken feedback if two fingers are held down. (Closed)
Patch Set: Address last nits Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ 6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "ash/common/accessibility_types.h" 10 #include "ash/common/accessibility_types.h"
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 std::unique_ptr<AccessibilityStatusSubscription> RegisterCallback( 242 std::unique_ptr<AccessibilityStatusSubscription> RegisterCallback(
243 const AccessibilityStatusCallback& cb); 243 const AccessibilityStatusCallback& cb);
244 244
245 // Notify registered callbacks of a status change in an accessibility setting. 245 // Notify registered callbacks of a status change in an accessibility setting.
246 void NotifyAccessibilityStatusChanged( 246 void NotifyAccessibilityStatusChanged(
247 AccessibilityStatusEventDetails& details); 247 AccessibilityStatusEventDetails& details);
248 248
249 // Notify accessibility when locale changes occur. 249 // Notify accessibility when locale changes occur.
250 void OnLocaleChanged(); 250 void OnLocaleChanged();
251 251
252 // Play tick sound indicating spoken feedback will be toggled after countdown.
253 bool PlaySpokenFeedbackToggleCountdown(int tick_count);
254
252 // Plays an earcon. Earcons are brief and distinctive sounds that indicate 255 // Plays an earcon. Earcons are brief and distinctive sounds that indicate
253 // when their mapped event has occurred. The sound key enums can be found in 256 // when their mapped event has occurred. The sound key enums can be found in
254 // chromeos/audio/chromeos_sounds.h. 257 // chromeos/audio/chromeos_sounds.h.
255 bool PlayEarcon(int sound_key, PlaySoundOption option); 258 bool PlayEarcon(int sound_key, PlaySoundOption option);
256 259
257 // Forward an accessibility gesture from the touch exploration controller 260 // Forward an accessibility gesture from the touch exploration controller
258 // to ChromeVox. 261 // to ChromeVox.
259 void HandleAccessibilityGesture(ui::AXGesture gesture); 262 void HandleAccessibilityGesture(ui::AXGesture gesture);
260 263
261 // Update the touch exploration controller so that synthesized 264 // Update the touch exploration controller so that synthesized
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 std::unique_ptr<AccessibilityExtensionLoader> select_to_speak_loader_; 413 std::unique_ptr<AccessibilityExtensionLoader> select_to_speak_loader_;
411 414
412 base::WeakPtrFactory<AccessibilityManager> weak_ptr_factory_; 415 base::WeakPtrFactory<AccessibilityManager> weak_ptr_factory_;
413 416
414 DISALLOW_COPY_AND_ASSIGN(AccessibilityManager); 417 DISALLOW_COPY_AND_ASSIGN(AccessibilityManager);
415 }; 418 };
416 419
417 } // namespace chromeos 420 } // namespace chromeos
418 421
419 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ 422 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/chromeos/accessibility/accessibility_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698