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

Side by Side Diff: chrome/browser/chromeos/accessibility/accessibility_manager.h

Issue 2493923002: Select-to-speak event handler (Closed)
Patch Set: Created 4 years, 1 month 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
OLDNEW
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/common/accessibility_types.h" 10 #include "ash/common/accessibility_types.h"
(...skipping 18 matching lines...) Expand all
29 namespace content { 29 namespace content {
30 class RenderViewHost; 30 class RenderViewHost;
31 } 31 }
32 32
33 class Profile; 33 class Profile;
34 34
35 namespace chromeos { 35 namespace chromeos {
36 36
37 class AccessibilityExtensionLoader; 37 class AccessibilityExtensionLoader;
38 class AccessibilityHighlightManager; 38 class AccessibilityHighlightManager;
39 class SelectToSpeakEventHandler;
39 40
40 enum AccessibilityNotificationType { 41 enum AccessibilityNotificationType {
41 ACCESSIBILITY_MANAGER_SHUTDOWN, 42 ACCESSIBILITY_MANAGER_SHUTDOWN,
42 ACCESSIBILITY_TOGGLE_HIGH_CONTRAST_MODE, 43 ACCESSIBILITY_TOGGLE_HIGH_CONTRAST_MODE,
43 ACCESSIBILITY_TOGGLE_LARGE_CURSOR, 44 ACCESSIBILITY_TOGGLE_LARGE_CURSOR,
44 ACCESSIBILITY_TOGGLE_SCREEN_MAGNIFIER, 45 ACCESSIBILITY_TOGGLE_SCREEN_MAGNIFIER,
45 ACCESSIBILITY_TOGGLE_SPOKEN_FEEDBACK, 46 ACCESSIBILITY_TOGGLE_SPOKEN_FEEDBACK,
46 ACCESSIBILITY_TOGGLE_VIRTUAL_KEYBOARD, 47 ACCESSIBILITY_TOGGLE_VIRTUAL_KEYBOARD,
47 ACCESSIBILITY_TOGGLE_MONO_AUDIO, 48 ACCESSIBILITY_TOGGLE_MONO_AUDIO,
48 ACCESSIBILITY_BRAILLE_DISPLAY_CONNECTION_STATE_CHANGED 49 ACCESSIBILITY_BRAILLE_DISPLAY_CONNECTION_STATE_CHANGED
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 extensions::ExtensionRegistryObserver> 403 extensions::ExtensionRegistryObserver>
403 extension_registry_observer_; 404 extension_registry_observer_;
404 405
405 std::unique_ptr<AccessibilityHighlightManager> 406 std::unique_ptr<AccessibilityHighlightManager>
406 accessibility_highlight_manager_; 407 accessibility_highlight_manager_;
407 408
408 std::unique_ptr<AccessibilityExtensionLoader> chromevox_loader_; 409 std::unique_ptr<AccessibilityExtensionLoader> chromevox_loader_;
409 410
410 std::unique_ptr<AccessibilityExtensionLoader> select_to_speak_loader_; 411 std::unique_ptr<AccessibilityExtensionLoader> select_to_speak_loader_;
411 412
413 std::unique_ptr<chromeos::SelectToSpeakEventHandler>
414 select_to_speak_event_handler_;
415
412 base::WeakPtrFactory<AccessibilityManager> weak_ptr_factory_; 416 base::WeakPtrFactory<AccessibilityManager> weak_ptr_factory_;
413 417
414 DISALLOW_COPY_AND_ASSIGN(AccessibilityManager); 418 DISALLOW_COPY_AND_ASSIGN(AccessibilityManager);
415 }; 419 };
416 420
417 } // namespace chromeos 421 } // namespace chromeos
418 422
419 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ 423 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698