Chromium Code Reviews| Index: ash/common/system/tray_accessibility.h |
| diff --git a/ash/common/system/tray_accessibility.h b/ash/common/system/tray_accessibility.h |
| index 472ab0f944006c7895a6e73cd3aa4315bfe59b3d..fea80a0a5326257077fa307516b86ea76fc87cb6 100644 |
| --- a/ash/common/system/tray_accessibility.h |
| +++ b/ash/common/system/tray_accessibility.h |
| @@ -80,6 +80,12 @@ class AccessibilityDetailedView : public TrayDetailsView, |
| bool highlight, |
| bool checked, |
| const gfx::VectorIcon& icon); |
| + HoverHighlightView* AddScrollListItemWithoutIcon(const base::string16& text, |
| + bool checked); |
| + |
| + void CheckOrUncheckMark(HoverHighlightView** container, bool checked); |
|
xiyuan
2017/03/28 20:11:25
This function seems not touching any state in Acce
xiyuan
2017/03/28 20:11:25
Can we pass HoverHighlightView* instead of **?
xiyuan
2017/03/28 20:11:25
nit: I'd call this UpdateCheckMark.
minch1
2017/03/29 01:15:11
Done.
minch1
2017/03/29 01:15:11
Done.
minch1
2017/03/29 01:15:11
Done.
|
| + |
| + void AddSubHeader(int message_id); |
|
xiyuan
2017/03/28 20:11:25
nit: Can we pass in the string instead?
i.e.
vo
minch1
2017/03/29 01:15:11
Hi,xiyuan. I guess here is to make the function re
xiyuan
2017/03/29 17:59:07
SG.
|
| views::View* spoken_feedback_view_; |
| views::View* high_contrast_view_; |
| @@ -89,6 +95,10 @@ class AccessibilityDetailedView : public TrayDetailsView, |
| views::CustomButton* settings_view_; |
| views::View* autoclick_view_; |
| views::View* virtual_keyboard_view_; |
| + views::View* mono_audio_view_; |
| + views::View* caret_highlight_view_; |
| + views::View* highlight_mouse_cursor_view_; |
| + views::View* highlight_keyboard_focus_view_; |
| bool spoken_feedback_enabled_; |
| bool high_contrast_enabled_; |
| @@ -96,6 +106,10 @@ class AccessibilityDetailedView : public TrayDetailsView, |
| bool large_cursor_enabled_; |
| bool autoclick_enabled_; |
| bool virtual_keyboard_enabled_; |
| + bool mono_audio_enabled_; |
| + bool caret_highlight_enabled_; |
| + bool highlight_mouse_cursor_enabled_; |
| + bool highlight_keyboard_focus_enabled_; |
| LoginStatus login_; |
| friend class chromeos::TrayAccessibilityTest; |