Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(419)

Side by Side Diff: ash/common/system/tray_accessibility.h

Issue 2095193002: clang-format all of //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/common/system/tray/tray_utils.cc ('k') | ash/common/system/tray_accessibility.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 bool autoclick_enabled_; 88 bool autoclick_enabled_;
89 bool virtual_keyboard_enabled_; 89 bool virtual_keyboard_enabled_;
90 LoginStatus login_; 90 LoginStatus login_;
91 91
92 friend class chromeos::TrayAccessibilityTest; 92 friend class chromeos::TrayAccessibilityTest;
93 DISALLOW_COPY_AND_ASSIGN(AccessibilityDetailedView); 93 DISALLOW_COPY_AND_ASSIGN(AccessibilityDetailedView);
94 }; 94 };
95 95
96 } // namespace tray 96 } // namespace tray
97 97
98 class TrayAccessibility : public TrayImageItem, 98 class TrayAccessibility : public TrayImageItem, public AccessibilityObserver {
99 public AccessibilityObserver {
100 public: 99 public:
101 explicit TrayAccessibility(SystemTray* system_tray); 100 explicit TrayAccessibility(SystemTray* system_tray);
102 ~TrayAccessibility() override; 101 ~TrayAccessibility() override;
103 102
104 private: 103 private:
105 void SetTrayIconVisible(bool visible); 104 void SetTrayIconVisible(bool visible);
106 tray::AccessibilityDetailedView* CreateDetailedMenu(); 105 tray::AccessibilityDetailedView* CreateDetailedMenu();
107 106
108 // Overridden from TrayImageItem. 107 // Overridden from TrayImageItem.
109 bool GetInitialVisibility() override; 108 bool GetInitialVisibility() override;
(...skipping 24 matching lines...) Expand all
134 // A11y feature status on just entering the lock screen. 133 // A11y feature status on just entering the lock screen.
135 bool show_a11y_menu_on_lock_screen_; 134 bool show_a11y_menu_on_lock_screen_;
136 135
137 friend class chromeos::TrayAccessibilityTest; 136 friend class chromeos::TrayAccessibilityTest;
138 DISALLOW_COPY_AND_ASSIGN(TrayAccessibility); 137 DISALLOW_COPY_AND_ASSIGN(TrayAccessibility);
139 }; 138 };
140 139
141 } // namespace ash 140 } // namespace ash
142 141
143 #endif // ASH_COMMON_SYSTEM_TRAY_ACCESSIBILITY_H_ 142 #endif // ASH_COMMON_SYSTEM_TRAY_ACCESSIBILITY_H_
OLDNEW
« no previous file with comments | « ash/common/system/tray/tray_utils.cc ('k') | ash/common/system/tray_accessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698