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

Side by Side Diff: ash/common/system/tray_accessibility.h

Issue 2802783002: List all a11y features in a11y detailed view in ash system menu (Closed)
Patch Set: Address the comments on PS#1 Created 3 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 | « ash/common/metrics/user_metrics_action.h ('k') | ash/common/system/tray_accessibility.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_COMMON_SYSTEM_TRAY_ACCESSIBILITY_H_ 5 #ifndef ASH_COMMON_SYSTEM_TRAY_ACCESSIBILITY_H_
6 #define ASH_COMMON_SYSTEM_TRAY_ACCESSIBILITY_H_ 6 #define ASH_COMMON_SYSTEM_TRAY_ACCESSIBILITY_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "ash/common/accessibility_delegate.h" 10 #include "ash/common/accessibility_delegate.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 views::View* screen_magnifier_view_ = nullptr; 96 views::View* screen_magnifier_view_ = nullptr;
97 views::View* large_cursor_view_ = nullptr; 97 views::View* large_cursor_view_ = nullptr;
98 views::CustomButton* help_view_ = nullptr; 98 views::CustomButton* help_view_ = nullptr;
99 views::CustomButton* settings_view_ = nullptr; 99 views::CustomButton* settings_view_ = nullptr;
100 views::View* autoclick_view_ = nullptr; 100 views::View* autoclick_view_ = nullptr;
101 views::View* virtual_keyboard_view_ = nullptr; 101 views::View* virtual_keyboard_view_ = nullptr;
102 views::View* mono_audio_view_ = nullptr; 102 views::View* mono_audio_view_ = nullptr;
103 views::View* caret_highlight_view_ = nullptr; 103 views::View* caret_highlight_view_ = nullptr;
104 views::View* highlight_mouse_cursor_view_ = nullptr; 104 views::View* highlight_mouse_cursor_view_ = nullptr;
105 views::View* highlight_keyboard_focus_view_ = nullptr; 105 views::View* highlight_keyboard_focus_view_ = nullptr;
106 views::View* sticky_keys_view_ = nullptr;
107 views::View* tap_dragging_view_ = nullptr;
106 108
107 bool spoken_feedback_enabled_ = false; 109 bool spoken_feedback_enabled_ = false;
108 bool high_contrast_enabled_ = false; 110 bool high_contrast_enabled_ = false;
109 bool screen_magnifier_enabled_ = false; 111 bool screen_magnifier_enabled_ = false;
110 bool large_cursor_enabled_ = false; 112 bool large_cursor_enabled_ = false;
111 bool autoclick_enabled_ = false; 113 bool autoclick_enabled_ = false;
112 bool virtual_keyboard_enabled_ = false; 114 bool virtual_keyboard_enabled_ = false;
113 bool mono_audio_enabled_ = false; 115 bool mono_audio_enabled_ = false;
114 bool caret_highlight_enabled_ = false; 116 bool caret_highlight_enabled_ = false;
115 bool highlight_mouse_cursor_enabled_ = false; 117 bool highlight_mouse_cursor_enabled_ = false;
116 bool highlight_keyboard_focus_enabled_ = false; 118 bool highlight_keyboard_focus_enabled_ = false;
119 bool sticky_keys_enabled_ = false;
120 bool tap_dragging_enabled_ = false;
117 LoginStatus login_; 121 LoginStatus login_;
118 122
119 friend class chromeos::TrayAccessibilityTest; 123 friend class chromeos::TrayAccessibilityTest;
120 DISALLOW_COPY_AND_ASSIGN(AccessibilityDetailedView); 124 DISALLOW_COPY_AND_ASSIGN(AccessibilityDetailedView);
121 }; 125 };
122 126
123 } // namespace tray 127 } // namespace tray
124 128
125 class TrayAccessibility : public TrayImageItem, public AccessibilityObserver { 129 class TrayAccessibility : public TrayImageItem, public AccessibilityObserver {
126 public: 130 public:
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 // A11y feature status on just entering the lock screen. 164 // A11y feature status on just entering the lock screen.
161 bool show_a11y_menu_on_lock_screen_; 165 bool show_a11y_menu_on_lock_screen_;
162 166
163 friend class chromeos::TrayAccessibilityTest; 167 friend class chromeos::TrayAccessibilityTest;
164 DISALLOW_COPY_AND_ASSIGN(TrayAccessibility); 168 DISALLOW_COPY_AND_ASSIGN(TrayAccessibility);
165 }; 169 };
166 170
167 } // namespace ash 171 } // namespace ash
168 172
169 #endif // ASH_COMMON_SYSTEM_TRAY_ACCESSIBILITY_H_ 173 #endif // ASH_COMMON_SYSTEM_TRAY_ACCESSIBILITY_H_
OLDNEW
« no previous file with comments | « ash/common/metrics/user_metrics_action.h ('k') | ash/common/system/tray_accessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698