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

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

Issue 1840913002: A11y setting: mono audio UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: delete tray a11y hand icon view Created 4 years, 8 months 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
« no previous file with comments | « chrome/app/settings_strings.grdp ('k') | chrome/browser/chromeos/accessibility/accessibility_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b43889afd328e1e1b9ee103426204a0e0d0d0e26..6af94c0dfb9dfe68857622c08510ba68128a970e 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);
@@ -280,6 +286,7 @@ class AccessibilityManager
void UpdateAutoclickFromPref();
void UpdateAutoclickDelayFromPref();
void UpdateVirtualKeyboardFromPref();
+ void UpdateMonoAudioFromPref();
void UpdateCaretHighlightFromPref();
void UpdateCursorHighlightFromPref();
void UpdateFocusHighlightFromPref();
@@ -341,6 +348,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_;
@@ -354,6 +362,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_;
« no previous file with comments | « chrome/app/settings_strings.grdp ('k') | chrome/browser/chromeos/accessibility/accessibility_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698