| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 void ShowSettings(); | 77 void ShowSettings(); |
| 78 | 78 |
| 79 // Launches the a11y help article in a browser and closes the system menu. | 79 // Launches the a11y help article in a browser and closes the system menu. |
| 80 void ShowHelp(); | 80 void ShowHelp(); |
| 81 | 81 |
| 82 // Add the accessibility feature list. | 82 // Add the accessibility feature list. |
| 83 void AppendAccessibilityList(); | 83 void AppendAccessibilityList(); |
| 84 | 84 |
| 85 // Helper function to create entries in the detailed accessibility view. | 85 // Helper function to create entries in the detailed accessibility view. |
| 86 HoverHighlightView* AddScrollListItem(const base::string16& text, | 86 HoverHighlightView* AddScrollListItem(const base::string16& text, |
| 87 bool highlight, | |
| 88 bool checked, | 87 bool checked, |
| 89 const gfx::VectorIcon& icon); | 88 const gfx::VectorIcon& icon); |
| 90 HoverHighlightView* AddScrollListItemWithoutIcon(const base::string16& text, | 89 HoverHighlightView* AddScrollListItemWithoutIcon(const base::string16& text, |
| 91 bool checked); | 90 bool checked); |
| 92 | 91 |
| 93 void AddSubHeader(const base::string16& header_text); | 92 void AddSubHeader(const base::string16& header_text); |
| 94 | 93 |
| 95 views::View* spoken_feedback_view_ = nullptr; | 94 views::View* spoken_feedback_view_ = nullptr; |
| 96 views::View* high_contrast_view_ = nullptr; | 95 views::View* high_contrast_view_ = nullptr; |
| 97 views::View* screen_magnifier_view_ = nullptr; | 96 views::View* screen_magnifier_view_ = nullptr; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 // A11y feature status on just entering the lock screen. | 160 // A11y feature status on just entering the lock screen. |
| 162 bool show_a11y_menu_on_lock_screen_; | 161 bool show_a11y_menu_on_lock_screen_; |
| 163 | 162 |
| 164 friend class chromeos::TrayAccessibilityTest; | 163 friend class chromeos::TrayAccessibilityTest; |
| 165 DISALLOW_COPY_AND_ASSIGN(TrayAccessibility); | 164 DISALLOW_COPY_AND_ASSIGN(TrayAccessibility); |
| 166 }; | 165 }; |
| 167 | 166 |
| 168 } // namespace ash | 167 } // namespace ash |
| 169 | 168 |
| 170 #endif // ASH_COMMON_SYSTEM_TRAY_ACCESSIBILITY_H_ | 169 #endif // ASH_COMMON_SYSTEM_TRAY_ACCESSIBILITY_H_ |
| OLD | NEW |