| Index: chrome/browser/chromeos/accessibility/accessibility_manager.h
|
| diff --git a/chrome/browser/chromeos/accessibility/accessibility_manager.h b/chrome/browser/chromeos/accessibility/accessibility_manager.h
|
| index 10db2c84448344b698ac0611aa20727a065b9198..e35e5d37ae7e51986a83fb5417456e6afd9d2d32 100644
|
| --- a/chrome/browser/chromeos/accessibility/accessibility_manager.h
|
| +++ b/chrome/browser/chromeos/accessibility/accessibility_manager.h
|
| @@ -76,6 +76,13 @@ typedef AccessibilityStatusCallbackList::Subscription
|
|
|
| class ChromeVoxPanelWidgetObserver;
|
|
|
| +enum class PlaySoundOption {
|
| + ALWAYS = 0, // The sound is always played.
|
| + SPOKEN_FEEDBACK_ENABLED, // The sound is played only if spoken feedback is
|
| + // enabled, or --ash-enable-system-sounds flag is
|
| + // used.
|
| +};
|
| +
|
| // AccessibilityManager changes the statuses of accessibility features
|
| // watching profile notifications and pref-changes.
|
| // TODO(yoshiki): merge MagnificationManager with AccessibilityManager.
|
| @@ -244,7 +251,7 @@ class AccessibilityManager
|
| // Plays an earcon. Earcons are brief and distinctive sounds that indicate
|
| // when their mapped event has occurred. The sound key enums can be found in
|
| // chromeos/audio/chromeos_sounds.h.
|
| - void PlayEarcon(int sound_key);
|
| + bool PlayEarcon(int sound_key, PlaySoundOption option);
|
|
|
| // Forward an accessibility gesture from the touch exploration controller
|
| // to ChromeVox.
|
|
|