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

Side by Side Diff: ash/accessibility_delegate.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 unified diff | Download patch
« no previous file with comments | « no previous file | ash/ash_strings.grd » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 ASH_ACCESSIBILITY_DELEGATE_H_ 5 #ifndef ASH_ACCESSIBILITY_DELEGATE_H_
6 #define ASH_ACCESSIBILITY_DELEGATE_H_ 6 #define ASH_ACCESSIBILITY_DELEGATE_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "ui/chromeos/accessibility_types.h" 10 #include "ui/chromeos/accessibility_types.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 // Returns if autoclick is enabled or not. 53 // Returns if autoclick is enabled or not.
54 virtual bool IsAutoclickEnabled() const = 0; 54 virtual bool IsAutoclickEnabled() const = 0;
55 55
56 // Invoked to enable or disable the a11y on-screen keyboard. 56 // Invoked to enable or disable the a11y on-screen keyboard.
57 virtual void SetVirtualKeyboardEnabled(bool enabled) = 0; 57 virtual void SetVirtualKeyboardEnabled(bool enabled) = 0;
58 58
59 // Returns if the a11y virtual keyboard is enabled. 59 // Returns if the a11y virtual keyboard is enabled.
60 virtual bool IsVirtualKeyboardEnabled() const = 0; 60 virtual bool IsVirtualKeyboardEnabled() const = 0;
61 61
62 // Invoked to enable or disable the mono audio output.
63 virtual void SetMonoAudioEnabled(bool enabled) = 0;
64
65 // Returns if the mono audio output is enabled.
66 virtual bool IsMonoAudioEnabled() const = 0;
67
62 // Invoked to enable or disable caret highlighting. 68 // Invoked to enable or disable caret highlighting.
63 virtual void SetCaretHighlightEnabled(bool enabled) = 0; 69 virtual void SetCaretHighlightEnabled(bool enabled) = 0;
64 70
65 // Returns if caret highlighting is enabled. 71 // Returns if caret highlighting is enabled.
66 virtual bool IsCaretHighlightEnabled() const = 0; 72 virtual bool IsCaretHighlightEnabled() const = 0;
67 73
68 // Invoked to enable or disable cursor highlighting. 74 // Invoked to enable or disable cursor highlighting.
69 virtual void SetCursorHighlightEnabled(bool enabled) = 0; 75 virtual void SetCursorHighlightEnabled(bool enabled) = 0;
70 76
71 // Returns if cursor highlighting is enabled. 77 // Returns if cursor highlighting is enabled.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 // chromeos/audio/chromeos_sounds.h. 122 // chromeos/audio/chromeos_sounds.h.
117 virtual void PlayEarcon(int sound_key) = 0; 123 virtual void PlayEarcon(int sound_key) = 0;
118 124
119 // Initiates play of shutdown sound and returns it's duration. 125 // Initiates play of shutdown sound and returns it's duration.
120 virtual base::TimeDelta PlayShutdownSound() const = 0; 126 virtual base::TimeDelta PlayShutdownSound() const = 0;
121 }; 127 };
122 128
123 } // namespace ash 129 } // namespace ash
124 130
125 #endif // ASH_ACCESSIBILITY_DELEGATE_H_ 131 #endif // ASH_ACCESSIBILITY_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | ash/ash_strings.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698