| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "ash/common/accessibility_delegate.h" | 10 #include "ash/common/accessibility_delegate.h" |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 // Overridden from TrayImageItem. | 108 // Overridden from TrayImageItem. |
| 109 bool GetInitialVisibility() override; | 109 bool GetInitialVisibility() override; |
| 110 views::View* CreateDefaultView(LoginStatus status) override; | 110 views::View* CreateDefaultView(LoginStatus status) override; |
| 111 views::View* CreateDetailedView(LoginStatus status) override; | 111 views::View* CreateDetailedView(LoginStatus status) override; |
| 112 void DestroyDefaultView() override; | 112 void DestroyDefaultView() override; |
| 113 void DestroyDetailedView() override; | 113 void DestroyDetailedView() override; |
| 114 void UpdateAfterLoginStatusChange(LoginStatus status) override; | 114 void UpdateAfterLoginStatusChange(LoginStatus status) override; |
| 115 | 115 |
| 116 // Overridden from AccessibilityObserver. | 116 // Overridden from AccessibilityObserver. |
| 117 void OnAccessibilityModeChanged( | 117 void OnAccessibilityModeChanged( |
| 118 ui::AccessibilityNotificationVisibility notify) override; | 118 AccessibilityNotificationVisibility notify) override; |
| 119 | 119 |
| 120 views::View* default_; | 120 views::View* default_; |
| 121 tray::AccessibilityPopupView* detailed_popup_; | 121 tray::AccessibilityPopupView* detailed_popup_; |
| 122 tray::AccessibilityDetailedView* detailed_menu_; | 122 tray::AccessibilityDetailedView* detailed_menu_; |
| 123 | 123 |
| 124 // Bitmap of fvalues from AccessibilityState. Can contain any or | 124 // Bitmap of fvalues from AccessibilityState. Can contain any or |
| 125 // both of A11Y_SPOKEN_FEEDBACK A11Y_BRAILLE_DISPLAY_CONNECTED. | 125 // both of A11Y_SPOKEN_FEEDBACK A11Y_BRAILLE_DISPLAY_CONNECTED. |
| 126 uint32_t request_popup_view_state_; | 126 uint32_t request_popup_view_state_; |
| 127 | 127 |
| 128 bool tray_icon_visible_; | 128 bool tray_icon_visible_; |
| 129 LoginStatus login_; | 129 LoginStatus login_; |
| 130 | 130 |
| 131 // Bitmap of values from AccessibilityState enum. | 131 // Bitmap of values from AccessibilityState enum. |
| 132 uint32_t previous_accessibility_state_; | 132 uint32_t previous_accessibility_state_; |
| 133 | 133 |
| 134 // A11y feature status on just entering the lock screen. | 134 // A11y feature status on just entering the lock screen. |
| 135 bool show_a11y_menu_on_lock_screen_; | 135 bool show_a11y_menu_on_lock_screen_; |
| 136 | 136 |
| 137 friend class chromeos::TrayAccessibilityTest; | 137 friend class chromeos::TrayAccessibilityTest; |
| 138 DISALLOW_COPY_AND_ASSIGN(TrayAccessibility); | 138 DISALLOW_COPY_AND_ASSIGN(TrayAccessibility); |
| 139 }; | 139 }; |
| 140 | 140 |
| 141 } // namespace ash | 141 } // namespace ash |
| 142 | 142 |
| 143 #endif // ASH_SYSTEM_TRAY_ACCESSIBILITY_H_ | 143 #endif // ASH_SYSTEM_TRAY_ACCESSIBILITY_H_ |
| OLD | NEW |