| 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_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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 // TODO(merkulova): remove on FakeUserManager componentization. | 142 // TODO(merkulova): remove on FakeUserManager componentization. |
| 143 // crbug.com/443119 | 143 // crbug.com/443119 |
| 144 virtual bool IsUserChild() const; | 144 virtual bool IsUserChild() const; |
| 145 | 145 |
| 146 // Fills |info| structure (which must not be null) with current update info. | 146 // Fills |info| structure (which must not be null) with current update info. |
| 147 virtual void GetSystemUpdateInfo(UpdateInfo* info) const; | 147 virtual void GetSystemUpdateInfo(UpdateInfo* info) const; |
| 148 | 148 |
| 149 // Returns true if settings menu item should appear. | 149 // Returns true if settings menu item should appear. |
| 150 virtual bool ShouldShowSettings(); | 150 virtual bool ShouldShowSettings(); |
| 151 | 151 |
| 152 // Shows the dialog to set system time, date, and timezone. | |
| 153 virtual void ShowSetTimeDialog(); | |
| 154 | |
| 155 // Shows information about enterprise enrolled devices. | 152 // Shows information about enterprise enrolled devices. |
| 156 virtual void ShowEnterpriseInfo(); | 153 virtual void ShowEnterpriseInfo(); |
| 157 | 154 |
| 158 // Shows login UI to add other users to this session. | 155 // Shows login UI to add other users to this session. |
| 159 virtual void ShowUserLogin(); | 156 virtual void ShowUserLogin(); |
| 160 | 157 |
| 161 // Attempts to sign out the user. | 158 // Attempts to sign out the user. |
| 162 virtual void SignOut(); | 159 virtual void SignOut(); |
| 163 | 160 |
| 164 // Attempts to restart the system for update. | 161 // Attempts to restart the system for update. |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 // Creates a system tray item for display rotation lock. | 261 // Creates a system tray item for display rotation lock. |
| 265 // TODO(jamescook): Remove this when mus has support for display management | 262 // TODO(jamescook): Remove this when mus has support for display management |
| 266 // and we have a DisplayManager equivalent. See http://crbug.com/548429 | 263 // and we have a DisplayManager equivalent. See http://crbug.com/548429 |
| 267 virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem( | 264 virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem( |
| 268 SystemTray* tray); | 265 SystemTray* tray); |
| 269 }; | 266 }; |
| 270 | 267 |
| 271 } // namespace ash | 268 } // namespace ash |
| 272 | 269 |
| 273 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 270 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| OLD | NEW |