| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 68 |
| 69 // Launches the WebUI settings in a browser and closes the system menu. | 69 // Launches the WebUI settings in a browser and closes the system menu. |
| 70 void ShowSettings(); | 70 void ShowSettings(); |
| 71 | 71 |
| 72 // Launches the a11y help article in a browser and closes the system menu. | 72 // Launches the a11y help article in a browser and closes the system menu. |
| 73 void ShowHelp(); | 73 void ShowHelp(); |
| 74 | 74 |
| 75 // Add the accessibility feature list. | 75 // Add the accessibility feature list. |
| 76 void AppendAccessibilityList(); | 76 void AppendAccessibilityList(); |
| 77 | 77 |
| 78 // Add help entries. Only used for non-MD. | 78 // Helper function to create entries in the detailed accessibility view. |
| 79 void AppendHelpEntries(); | |
| 80 | |
| 81 // Helper function to create entries in the detailed accessibility view. The | |
| 82 // |icon| parameter is used to create button icons for MD only. | |
| 83 HoverHighlightView* AddScrollListItem(const base::string16& text, | 79 HoverHighlightView* AddScrollListItem(const base::string16& text, |
| 84 bool highlight, | 80 bool highlight, |
| 85 bool checked, | 81 bool checked, |
| 86 const gfx::VectorIcon& icon); | 82 const gfx::VectorIcon& icon); |
| 87 | 83 |
| 88 views::View* spoken_feedback_view_; | 84 views::View* spoken_feedback_view_; |
| 89 views::View* high_contrast_view_; | 85 views::View* high_contrast_view_; |
| 90 views::View* screen_magnifier_view_; | 86 views::View* screen_magnifier_view_; |
| 91 views::View* large_cursor_view_; | 87 views::View* large_cursor_view_; |
| 92 views::CustomButton* help_view_; | 88 views::CustomButton* help_view_; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 // A11y feature status on just entering the lock screen. | 142 // A11y feature status on just entering the lock screen. |
| 147 bool show_a11y_menu_on_lock_screen_; | 143 bool show_a11y_menu_on_lock_screen_; |
| 148 | 144 |
| 149 friend class chromeos::TrayAccessibilityTest; | 145 friend class chromeos::TrayAccessibilityTest; |
| 150 DISALLOW_COPY_AND_ASSIGN(TrayAccessibility); | 146 DISALLOW_COPY_AND_ASSIGN(TrayAccessibility); |
| 151 }; | 147 }; |
| 152 | 148 |
| 153 } // namespace ash | 149 } // namespace ash |
| 154 | 150 |
| 155 #endif // ASH_COMMON_SYSTEM_TRAY_ACCESSIBILITY_H_ | 151 #endif // ASH_COMMON_SYSTEM_TRAY_ACCESSIBILITY_H_ |
| OLD | NEW |