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 a6cb843f7db9d001bd47846c8ebfaed8d3a17b21..0e532eda1d004f8cda33cf4e12abc6f297fd3e5f 100644 |
--- a/chrome/browser/chromeos/accessibility/accessibility_manager.h |
+++ b/chrome/browser/chromeos/accessibility/accessibility_manager.h |
@@ -43,6 +43,7 @@ enum AccessibilityNotificationType { |
ACCESSIBILITY_TOGGLE_SCREEN_MAGNIFIER, |
ACCESSIBILITY_TOGGLE_SPOKEN_FEEDBACK, |
ACCESSIBILITY_TOGGLE_VIRTUAL_KEYBOARD, |
+ ACCESSIBILITY_TOGGLE_MONO_AUDIO, |
ACCESSIBILITY_BRAILLE_DISPLAY_CONNECTION_STATE_CHANGED |
}; |
@@ -167,6 +168,11 @@ class AccessibilityManager |
// Returns true if the virtual keyboard is enabled, otherwise false. |
bool IsVirtualKeyboardEnabled(); |
+ // Enables or disables mono audio output. |
+ void EnableMonoAudio(bool enabled); |
+ // Returns true if mono audio output is enabled, otherwise false. |
+ bool IsMonoAudioEnabled(); |
+ |
// Invoked to enable or disable caret highlighting. |
void SetCaretHighlightEnabled(bool enabled); |
@@ -278,6 +284,7 @@ class AccessibilityManager |
void UpdateAutoclickFromPref(); |
void UpdateAutoclickDelayFromPref(); |
void UpdateVirtualKeyboardFromPref(); |
+ void UpdateMonoAudioFromPref(); |
void UpdateCaretHighlightFromPref(); |
void UpdateCursorHighlightFromPref(); |
void UpdateFocusHighlightFromPref(); |
@@ -338,6 +345,7 @@ class AccessibilityManager |
PrefHandler autoclick_pref_handler_; |
PrefHandler autoclick_delay_pref_handler_; |
PrefHandler virtual_keyboard_pref_handler_; |
+ PrefHandler mono_audio_pref_handler_; |
PrefHandler caret_highlight_pref_handler_; |
PrefHandler cursor_highlight_pref_handler_; |
PrefHandler focus_highlight_pref_handler_; |
@@ -351,6 +359,7 @@ class AccessibilityManager |
bool autoclick_enabled_; |
int autoclick_delay_ms_; |
bool virtual_keyboard_enabled_; |
+ bool mono_audio_enabled_; |
bool caret_highlight_enabled_; |
bool cursor_highlight_enabled_; |
bool focus_highlight_enabled_; |