| 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_COMMON_SYSTEM_TRAY_ACCESSIBILITY_H_ | 5 #ifndef ASH_COMMON_SYSTEM_TRAY_ACCESSIBILITY_H_ |
| 6 #define ASH_COMMON_SYSTEM_TRAY_ACCESSIBILITY_H_ | 6 #define ASH_COMMON_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 22 matching lines...) Expand all Loading... |
| 33 } | 33 } |
| 34 | 34 |
| 35 namespace ash { | 35 namespace ash { |
| 36 class HoverHighlightView; | 36 class HoverHighlightView; |
| 37 class SystemTrayItem; | 37 class SystemTrayItem; |
| 38 | 38 |
| 39 namespace tray { | 39 namespace tray { |
| 40 | 40 |
| 41 class AccessibilityPopupView : public TrayNotificationView { | 41 class AccessibilityPopupView : public TrayNotificationView { |
| 42 public: | 42 public: |
| 43 AccessibilityPopupView(SystemTrayItem* owner, uint32_t enabled_state_bits); | 43 explicit AccessibilityPopupView(uint32_t enabled_state_bits); |
| 44 | 44 |
| 45 const views::Label* label_for_test() const { return label_; } | 45 const views::Label* label_for_test() const { return label_; } |
| 46 | 46 |
| 47 private: | 47 private: |
| 48 views::Label* CreateLabel(uint32_t enabled_state_bits); | 48 views::Label* CreateLabel(uint32_t enabled_state_bits); |
| 49 | 49 |
| 50 views::Label* label_; | 50 views::Label* label_; |
| 51 | 51 |
| 52 DISALLOW_COPY_AND_ASSIGN(AccessibilityPopupView); | 52 DISALLOW_COPY_AND_ASSIGN(AccessibilityPopupView); |
| 53 }; | 53 }; |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 // A11y feature status on just entering the lock screen. | 146 // A11y feature status on just entering the lock screen. |
| 147 bool show_a11y_menu_on_lock_screen_; | 147 bool show_a11y_menu_on_lock_screen_; |
| 148 | 148 |
| 149 friend class chromeos::TrayAccessibilityTest; | 149 friend class chromeos::TrayAccessibilityTest; |
| 150 DISALLOW_COPY_AND_ASSIGN(TrayAccessibility); | 150 DISALLOW_COPY_AND_ASSIGN(TrayAccessibility); |
| 151 }; | 151 }; |
| 152 | 152 |
| 153 } // namespace ash | 153 } // namespace ash |
| 154 | 154 |
| 155 #endif // ASH_COMMON_SYSTEM_TRAY_ACCESSIBILITY_H_ | 155 #endif // ASH_COMMON_SYSTEM_TRAY_ACCESSIBILITY_H_ |
| OLD | NEW |