| 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_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 5 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 | 174 |
| 175 // Returns true if settings menu item should appear. | 175 // Returns true if settings menu item should appear. |
| 176 virtual bool ShouldShowSettings(); | 176 virtual bool ShouldShowSettings(); |
| 177 | 177 |
| 178 // Shows the settings related to date, timezone etc. | 178 // Shows the settings related to date, timezone etc. |
| 179 virtual void ShowDateSettings(); | 179 virtual void ShowDateSettings(); |
| 180 | 180 |
| 181 // Shows the dialog to set system time, date, and timezone. | 181 // Shows the dialog to set system time, date, and timezone. |
| 182 virtual void ShowSetTimeDialog(); | 182 virtual void ShowSetTimeDialog(); |
| 183 | 183 |
| 184 // Shows the settings related to network. If |service_path| is not empty, | 184 // Shows the settings related to network. If |guid| is not empty, |
| 185 // show the settings for that network. | 185 // show the settings for the corresponding network. |
| 186 virtual void ShowNetworkSettings(const std::string& service_path); | 186 virtual void ShowNetworkSettingsForGuid(const std::string& guid); |
| 187 | 187 |
| 188 // Shows the settings related to bluetooth. | 188 // Shows the settings related to bluetooth. |
| 189 virtual void ShowBluetoothSettings(); | 189 virtual void ShowBluetoothSettings(); |
| 190 | 190 |
| 191 // Shows settings related to multiple displays. | 191 // Shows settings related to multiple displays. |
| 192 virtual void ShowDisplaySettings(); | 192 virtual void ShowDisplaySettings(); |
| 193 | 193 |
| 194 // Shows the page that lets you disable performance tracing. | 194 // Shows the page that lets you disable performance tracing. |
| 195 virtual void ShowChromeSlow(); | 195 virtual void ShowChromeSlow(); |
| 196 | 196 |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 | 330 |
| 331 // Determines whether the device is automatically rebooted when shut down as | 331 // Determines whether the device is automatically rebooted when shut down as |
| 332 // specified by the device policy |DeviceRebootOnShutdown|. This function | 332 // specified by the device policy |DeviceRebootOnShutdown|. This function |
| 333 // asynchronously calls |callback| once a trusted policy becomes available. | 333 // asynchronously calls |callback| once a trusted policy becomes available. |
| 334 virtual void ShouldRebootOnShutdown(const RebootOnShutdownCallback& callback); | 334 virtual void ShouldRebootOnShutdown(const RebootOnShutdownCallback& callback); |
| 335 }; | 335 }; |
| 336 | 336 |
| 337 } // namespace ash | 337 } // namespace ash |
| 338 | 338 |
| 339 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 339 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| OLD | NEW |