Chromium Code Reviews| Index: ash/system/tray/system_tray_delegate.h |
| diff --git a/ash/system/tray/system_tray_delegate.h b/ash/system/tray/system_tray_delegate.h |
| index 92cd195e9542dba168d7e443364357fd31dd5669..265d2321e77b001a73eb6fa25fef00222f3949de 100644 |
| --- a/ash/system/tray/system_tray_delegate.h |
| +++ b/ash/system/tray/system_tray_delegate.h |
| @@ -69,6 +69,14 @@ struct PowerSupplyStatus; |
| class SystemTrayDelegate { |
| public: |
| + // TODO(stevenjb): Use PowerManagerClient::UpdateRequestType once moved to |
| + // /chromeos directory. |
|
sadrul
2012/04/10 00:01:34
Looks like the relevant code has already moved int
stevenjb
2012/04/10 18:02:03
Removed.
|
| + enum UpdateRequestType { |
| + UPDATE_INITIAL, // Initial update request. |
| + UPDATE_USER, // User initialted update request. |
| + UPDATE_POLL // Update requested by poll signal. |
| + }; |
| + |
| virtual ~SystemTrayDelegate() {} |
| // Returns true if system tray should be visible on startup. |
| @@ -90,7 +98,8 @@ class SystemTrayDelegate { |
| virtual base::HourClockType GetHourClockType() const = 0; |
| // Gets the current power supply status. |
| - virtual PowerSupplyStatus GetPowerSupplyStatus() const = 0; |
| + virtual PowerSupplyStatus GetPowerSupplyStatus( |
| + UpdateRequestType request_type) const = 0; |
| // Shows settings. |
| virtual void ShowSettings() = 0; |