OLD | NEW |
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_SYSTEM_TRAY_ACCESSIBILITY_H_ | 5 #ifndef ASH_SYSTEM_TRAY_ACCESSIBILITY_H_ |
6 #define ASH_SYSTEM_TRAY_ACCESSIBILITY_H_ | 6 #define ASH_SYSTEM_TRAY_ACCESSIBILITY_H_ |
7 | 7 |
8 #include "ash/accessibility_delegate.h" | 8 #include "ash/accessibility_delegate.h" |
9 #include "ash/shell_observer.h" | 9 #include "ash/shell_observer.h" |
10 #include "ash/system/tray/tray_details_view.h" | 10 #include "ash/system/tray/tray_details_view.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 } | 27 } |
28 | 28 |
29 namespace ash { | 29 namespace ash { |
30 class HoverHighlightView; | 30 class HoverHighlightView; |
31 class SystemTrayItem; | 31 class SystemTrayItem; |
32 | 32 |
33 class ASH_EXPORT AccessibilityObserver { | 33 class ASH_EXPORT AccessibilityObserver { |
34 public: | 34 public: |
35 virtual ~AccessibilityObserver() {} | 35 virtual ~AccessibilityObserver() {} |
36 | 36 |
37 // Notifies when accessibilty mode changes. | 37 // Notifies when accessibility mode changes. |
38 virtual void OnAccessibilityModeChanged( | 38 virtual void OnAccessibilityModeChanged( |
39 ui::AccessibilityNotificationVisibility notify) = 0; | 39 ui::AccessibilityNotificationVisibility notify) = 0; |
40 }; | 40 }; |
41 | 41 |
42 | 42 |
43 namespace tray { | 43 namespace tray { |
44 | 44 |
45 class AccessibilityPopupView : public TrayNotificationView { | 45 class AccessibilityPopupView : public TrayNotificationView { |
46 public: | 46 public: |
47 AccessibilityPopupView(SystemTrayItem* owner, uint32 enabled_state_bits); | 47 AccessibilityPopupView(SystemTrayItem* owner, uint32 enabled_state_bits); |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 // A11y feature status on just entering the lock screen. | 142 // A11y feature status on just entering the lock screen. |
143 bool show_a11y_menu_on_lock_screen_; | 143 bool show_a11y_menu_on_lock_screen_; |
144 | 144 |
145 friend class chromeos::TrayAccessibilityTest; | 145 friend class chromeos::TrayAccessibilityTest; |
146 DISALLOW_COPY_AND_ASSIGN(TrayAccessibility); | 146 DISALLOW_COPY_AND_ASSIGN(TrayAccessibility); |
147 }; | 147 }; |
148 | 148 |
149 } // namespace ash | 149 } // namespace ash |
150 | 150 |
151 #endif // ASH_SYSTEM_TRAY_ACCESSIBILITY_H_ | 151 #endif // ASH_SYSTEM_TRAY_ACCESSIBILITY_H_ |
OLD | NEW |