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

Side by Side Diff: ash/common/system/tray/system_tray_delegate.h

Issue 2400553002: ash: Remove broken display notification suppression when settings is open (Closed)
Patch Set: fix comment Created 4 years, 2 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
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_SYSTEM_TRAY_DELEGATE_H_ 5 #ifndef ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
6 #define ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 6 #define ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 // Fills |info| structure (which must not be null) with current update info. 147 // Fills |info| structure (which must not be null) with current update info.
148 virtual void GetSystemUpdateInfo(UpdateInfo* info) const; 148 virtual void GetSystemUpdateInfo(UpdateInfo* info) const;
149 149
150 // Returns true if settings menu item should appear. 150 // Returns true if settings menu item should appear.
151 virtual bool ShouldShowSettings(); 151 virtual bool ShouldShowSettings();
152 152
153 // Shows the dialog to set system time, date, and timezone. 153 // Shows the dialog to set system time, date, and timezone.
154 virtual void ShowSetTimeDialog(); 154 virtual void ShowSetTimeDialog();
155 155
156 // Returns true if the notification for the display configuration change
157 // should appear.
158 virtual bool ShouldShowDisplayNotification();
159
160 // Shows information about enterprise enrolled devices. 156 // Shows information about enterprise enrolled devices.
161 virtual void ShowEnterpriseInfo(); 157 virtual void ShowEnterpriseInfo();
162 158
163 // Shows login UI to add other users to this session. 159 // Shows login UI to add other users to this session.
164 virtual void ShowUserLogin(); 160 virtual void ShowUserLogin();
165 161
166 // Attempts to sign out the user. 162 // Attempts to sign out the user.
167 virtual void SignOut(); 163 virtual void SignOut();
168 164
169 // Attempts to restart the system for update. 165 // Attempts to restart the system for update.
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 // Creates a system tray item for display rotation lock. 272 // Creates a system tray item for display rotation lock.
277 // TODO(jamescook): Remove this when mus has support for display management 273 // TODO(jamescook): Remove this when mus has support for display management
278 // and we have a DisplayManager equivalent. See http://crbug.com/548429 274 // and we have a DisplayManager equivalent. See http://crbug.com/548429
279 virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem( 275 virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem(
280 SystemTray* tray); 276 SystemTray* tray);
281 }; 277 };
282 278
283 } // namespace ash 279 } // namespace ash
284 280
285 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 281 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/common/system/tray/default_system_tray_delegate.cc ('k') | ash/common/system/tray/system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698