| 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/session/session_state_observer.h" | 10 #include "ash/session/session_state_observer.h" |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 AccessibilityStatusEventDetails& details); | 239 AccessibilityStatusEventDetails& details); |
| 240 | 240 |
| 241 // Notify accessibility when locale changes occur. | 241 // Notify accessibility when locale changes occur. |
| 242 void OnLocaleChanged(); | 242 void OnLocaleChanged(); |
| 243 | 243 |
| 244 // Plays an earcon. Earcons are brief and distinctive sounds that indicate | 244 // Plays an earcon. Earcons are brief and distinctive sounds that indicate |
| 245 // when their mapped event has occurred. The sound key enums can be found in | 245 // when their mapped event has occurred. The sound key enums can be found in |
| 246 // chromeos/audio/chromeos_sounds.h. | 246 // chromeos/audio/chromeos_sounds.h. |
| 247 void PlayEarcon(int sound_key); | 247 void PlayEarcon(int sound_key); |
| 248 | 248 |
| 249 // Forward an accessibility gesture from the touch exploration controller |
| 250 // to ChromeVox. |
| 251 void HandleAccessibilityGesture(ui::AXGesture gesture); |
| 252 |
| 249 // Called by our widget observer when the ChromeVoxPanel is closing. | 253 // Called by our widget observer when the ChromeVoxPanel is closing. |
| 250 void OnChromeVoxPanelClosing(); | 254 void OnChromeVoxPanelClosing(); |
| 251 void OnChromeVoxPanelDestroying(); | 255 void OnChromeVoxPanelDestroying(); |
| 252 | 256 |
| 253 // Profile having the a11y context. | 257 // Profile having the a11y context. |
| 254 Profile* profile() { return profile_; } | 258 Profile* profile() { return profile_; } |
| 255 | 259 |
| 256 // Extension id of extension receiving keyboard events. | 260 // Extension id of extension receiving keyboard events. |
| 257 void SetKeyboardListenerExtensionId(const std::string& id, | 261 void SetKeyboardListenerExtensionId(const std::string& id, |
| 258 content::BrowserContext* context); | 262 content::BrowserContext* context); |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 accessibility_highlight_manager_; | 403 accessibility_highlight_manager_; |
| 400 | 404 |
| 401 base::WeakPtrFactory<AccessibilityManager> weak_ptr_factory_; | 405 base::WeakPtrFactory<AccessibilityManager> weak_ptr_factory_; |
| 402 | 406 |
| 403 DISALLOW_COPY_AND_ASSIGN(AccessibilityManager); | 407 DISALLOW_COPY_AND_ASSIGN(AccessibilityManager); |
| 404 }; | 408 }; |
| 405 | 409 |
| 406 } // namespace chromeos | 410 } // namespace chromeos |
| 407 | 411 |
| 408 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ | 412 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ |
| OLD | NEW |