| 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/accessibility_delegate.h" | 10 #include "ash/accessibility_delegate.h" |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 | 56 |
| 57 views::Label* label_; | 57 views::Label* label_; |
| 58 | 58 |
| 59 DISALLOW_COPY_AND_ASSIGN(AccessibilityPopupView); | 59 DISALLOW_COPY_AND_ASSIGN(AccessibilityPopupView); |
| 60 }; | 60 }; |
| 61 | 61 |
| 62 // Create the detailed view of accessibility tray. | 62 // Create the detailed view of accessibility tray. |
| 63 class AccessibilityDetailedView : public TrayDetailsView, | 63 class AccessibilityDetailedView : public TrayDetailsView, |
| 64 public ShellObserver { | 64 public ShellObserver { |
| 65 public: | 65 public: |
| 66 AccessibilityDetailedView(SystemTrayItem* owner, LoginStatus login); | 66 explicit AccessibilityDetailedView(SystemTrayItem* owner); |
| 67 ~AccessibilityDetailedView() override {} | 67 ~AccessibilityDetailedView() override {} |
| 68 | 68 |
| 69 private: | 69 private: |
| 70 // TrayDetailsView: | 70 // TrayDetailsView: |
| 71 void HandleViewClicked(views::View* view) override; | 71 void HandleViewClicked(views::View* view) override; |
| 72 void HandleButtonPressed(views::Button* sender, | 72 void HandleButtonPressed(views::Button* sender, |
| 73 const ui::Event& event) override; | 73 const ui::Event& event) override; |
| 74 void CreateExtraTitleRowButtons() override; | 74 void CreateExtraTitleRowButtons() override; |
| 75 | 75 |
| 76 // Launches the WebUI settings in a browser and closes the system menu. | 76 // Launches the WebUI settings in a browser and closes the system menu. |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 // A11y feature status on just entering the lock screen. | 164 // A11y feature status on just entering the lock screen. |
| 165 bool show_a11y_menu_on_lock_screen_; | 165 bool show_a11y_menu_on_lock_screen_; |
| 166 | 166 |
| 167 friend class chromeos::TrayAccessibilityTest; | 167 friend class chromeos::TrayAccessibilityTest; |
| 168 DISALLOW_COPY_AND_ASSIGN(TrayAccessibility); | 168 DISALLOW_COPY_AND_ASSIGN(TrayAccessibility); |
| 169 }; | 169 }; |
| 170 | 170 |
| 171 } // namespace ash | 171 } // namespace ash |
| 172 | 172 |
| 173 #endif // ASH_SYSTEM_TRAY_ACCESSIBILITY_H_ | 173 #endif // ASH_SYSTEM_TRAY_ACCESSIBILITY_H_ |
| OLD | NEW |