OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "ash/accessibility_delegate.h" | 10 #include "ash/accessibility_delegate.h" |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 | 193 |
194 // Set of profiles ChromeVox is loaded to. | 194 // Set of profiles ChromeVox is loaded to. |
195 std::set<Profile*> chromevox_profiles_; | 195 std::set<Profile*> chromevox_profiles_; |
196 | 196 |
197 content::NotificationRegistrar notification_registrar_; | 197 content::NotificationRegistrar notification_registrar_; |
198 scoped_ptr<PrefChangeRegistrar> pref_change_registrar_; | 198 scoped_ptr<PrefChangeRegistrar> pref_change_registrar_; |
199 scoped_ptr<PrefChangeRegistrar> local_state_pref_change_registrar_; | 199 scoped_ptr<PrefChangeRegistrar> local_state_pref_change_registrar_; |
200 scoped_ptr<ash::ScopedSessionStateObserver> session_state_observer_; | 200 scoped_ptr<ash::ScopedSessionStateObserver> session_state_observer_; |
201 | 201 |
202 PrefHandler large_cursor_pref_handler_; | 202 PrefHandler large_cursor_pref_handler_; |
203 PrefHandler spoken_feedback_pref_handler_; | |
204 PrefHandler high_contrast_pref_handler_; | 203 PrefHandler high_contrast_pref_handler_; |
205 PrefHandler autoclick_pref_handler_; | 204 PrefHandler autoclick_pref_handler_; |
206 PrefHandler autoclick_delay_pref_handler_; | 205 PrefHandler autoclick_delay_pref_handler_; |
207 | 206 |
208 bool large_cursor_enabled_; | 207 bool large_cursor_enabled_; |
209 bool sticky_keys_enabled_; | 208 bool sticky_keys_enabled_; |
210 bool spoken_feedback_enabled_; | 209 bool spoken_feedback_enabled_; |
211 bool high_contrast_enabled_; | 210 bool high_contrast_enabled_; |
212 bool autoclick_enabled_; | 211 bool autoclick_enabled_; |
213 int autoclick_delay_ms_; | 212 int autoclick_delay_ms_; |
214 | 213 |
215 ash::AccessibilityNotificationVisibility spoken_feedback_notification_; | 214 ash::AccessibilityNotificationVisibility spoken_feedback_notification_; |
216 | 215 |
217 base::WeakPtrFactory<AccessibilityManager> weak_ptr_factory_; | 216 base::WeakPtrFactory<AccessibilityManager> weak_ptr_factory_; |
218 | 217 |
219 bool should_speak_chrome_vox_announcements_on_user_screen_; | 218 bool should_speak_chrome_vox_announcements_on_user_screen_; |
220 | 219 |
221 bool system_sounds_enabled_; | 220 bool system_sounds_enabled_; |
222 | 221 |
223 DISALLOW_COPY_AND_ASSIGN(AccessibilityManager); | 222 DISALLOW_COPY_AND_ASSIGN(AccessibilityManager); |
224 }; | 223 }; |
225 | 224 |
226 } // namespace chromeos | 225 } // namespace chromeos |
227 | 226 |
228 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ | 227 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ |
OLD | NEW |