| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 | 84 |
| 85 // Returns the resource id for the icon to show for the update notification. | 85 // Returns the resource id for the icon to show for the update notification. |
| 86 virtual int GetSystemUpdateIconResource() const = 0; | 86 virtual int GetSystemUpdateIconResource() const = 0; |
| 87 | 87 |
| 88 // Returns the desired hour clock type. | 88 // Returns the desired hour clock type. |
| 89 virtual base::HourClockType GetHourClockType() const = 0; | 89 virtual base::HourClockType GetHourClockType() const = 0; |
| 90 | 90 |
| 91 // Gets the current power supply status. | 91 // Gets the current power supply status. |
| 92 virtual PowerSupplyStatus GetPowerSupplyStatus() const = 0; | 92 virtual PowerSupplyStatus GetPowerSupplyStatus() const = 0; |
| 93 | 93 |
| 94 // Requests a status update. |
| 95 virtual void RequestStatusUpdate() const = 0; |
| 96 |
| 94 // Shows settings. | 97 // Shows settings. |
| 95 virtual void ShowSettings() = 0; | 98 virtual void ShowSettings() = 0; |
| 96 | 99 |
| 97 // Shows the settings related to date, timezone etc. | 100 // Shows the settings related to date, timezone etc. |
| 98 virtual void ShowDateSettings() = 0; | 101 virtual void ShowDateSettings() = 0; |
| 99 | 102 |
| 100 // Shows the settings related to network. | 103 // Shows the settings related to network. |
| 101 virtual void ShowNetworkSettings() = 0; | 104 virtual void ShowNetworkSettings() = 0; |
| 102 | 105 |
| 103 // Shows the settings related to bluetooth. | 106 // Shows the settings related to bluetooth. |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 // Opens the top up url. | 234 // Opens the top up url. |
| 232 virtual void ShowCellularTopupURL(const std::string& topup_url) = 0; | 235 virtual void ShowCellularTopupURL(const std::string& topup_url) = 0; |
| 233 | 236 |
| 234 // Shows UI for changing proxy settings. | 237 // Shows UI for changing proxy settings. |
| 235 virtual void ChangeProxySettings() = 0; | 238 virtual void ChangeProxySettings() = 0; |
| 236 }; | 239 }; |
| 237 | 240 |
| 238 } // namespace ash | 241 } // namespace ash |
| 239 | 242 |
| 240 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 243 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| OLD | NEW |