| 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 | 140 |
| 141 // Fills |info| structure (which must not be null) with current update info. | 141 // Fills |info| structure (which must not be null) with current update info. |
| 142 virtual void GetSystemUpdateInfo(UpdateInfo* info) const; | 142 virtual void GetSystemUpdateInfo(UpdateInfo* info) const; |
| 143 | 143 |
| 144 // Returns true if settings menu item should appear. | 144 // Returns true if settings menu item should appear. |
| 145 virtual bool ShouldShowSettings(); | 145 virtual bool ShouldShowSettings(); |
| 146 | 146 |
| 147 // Shows the dialog to set system time, date, and timezone. | 147 // Shows the dialog to set system time, date, and timezone. |
| 148 virtual void ShowSetTimeDialog(); | 148 virtual void ShowSetTimeDialog(); |
| 149 | 149 |
| 150 // Shows the settings related to network. If |guid| is not empty, | |
| 151 // show the settings for the corresponding network. | |
| 152 virtual void ShowNetworkSettingsForGuid(const std::string& guid); | |
| 153 | |
| 154 // Returns true if the notification for the display configuration change | 150 // Returns true if the notification for the display configuration change |
| 155 // should appear. | 151 // should appear. |
| 156 virtual bool ShouldShowDisplayNotification(); | 152 virtual bool ShouldShowDisplayNotification(); |
| 157 | 153 |
| 158 // Shows information about enterprise enrolled devices. | 154 // Shows information about enterprise enrolled devices. |
| 159 virtual void ShowEnterpriseInfo(); | 155 virtual void ShowEnterpriseInfo(); |
| 160 | 156 |
| 161 // Shows login UI to add other users to this session. | 157 // Shows login UI to add other users to this session. |
| 162 virtual void ShowUserLogin(); | 158 virtual void ShowUserLogin(); |
| 163 | 159 |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 // Creates a system tray item for display rotation lock. | 270 // Creates a system tray item for display rotation lock. |
| 275 // TODO(jamescook): Remove this when mus has support for display management | 271 // TODO(jamescook): Remove this when mus has support for display management |
| 276 // and we have a DisplayManager equivalent. See http://crbug.com/548429 | 272 // and we have a DisplayManager equivalent. See http://crbug.com/548429 |
| 277 virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem( | 273 virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem( |
| 278 SystemTray* tray); | 274 SystemTray* tray); |
| 279 }; | 275 }; |
| 280 | 276 |
| 281 } // namespace ash | 277 } // namespace ash |
| 282 | 278 |
| 283 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 279 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| OLD | NEW |