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

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

Issue 2821363002: cros: Disable system tray help/lock buttons during supervised user creation (Closed)
Patch Set: fix browser test Created 3 years, 8 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/system/tray/tray_popup_utils.cc ('k') | ash/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_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
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
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_
OLDNEW
« no previous file with comments | « ash/system/tray/tray_popup_utils.cc ('k') | ash/system/tray_accessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698