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

Unified Diff: ash/default_accessibility_delegate.cc

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 | « ash/default_accessibility_delegate.h ('k') | ash/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/default_accessibility_delegate.cc
diff --git a/ash/default_accessibility_delegate.cc b/ash/default_accessibility_delegate.cc
index 402e5b59f38676ed4881124b6e49a0616ce19f3f..b74ff090f7411370caa612472010a5118fe2dde4 100644
--- a/ash/default_accessibility_delegate.cc
+++ b/ash/default_accessibility_delegate.cc
@@ -64,6 +64,14 @@ bool DefaultAccessibilityDelegate::IsVirtualKeyboardEnabled() const {
return virtual_keyboard_enabled_;
}
+void DefaultAccessibilityDelegate::SetMonoAudioEnabled(bool enabled) {
+ mono_audio_enabled_ = enabled;
+}
+
+bool DefaultAccessibilityDelegate::IsMonoAudioEnabled() const {
+ return mono_audio_enabled_;
+}
+
void DefaultAccessibilityDelegate::SetCaretHighlightEnabled(bool enabled) {
caret_highlight_enabled_ = enabled;
}
@@ -110,7 +118,8 @@ bool DefaultAccessibilityDelegate::ShouldShowAccessibilityMenu() const {
screen_magnifier_enabled_ ||
large_cursor_enabled_ ||
autoclick_enabled_ ||
- virtual_keyboard_enabled_;
+ virtual_keyboard_enabled_ ||
+ mono_audio_enabled_;
}
bool DefaultAccessibilityDelegate::IsBrailleDisplayConnected() const {
« no previous file with comments | « ash/default_accessibility_delegate.h ('k') | ash/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698