Chromium Code Reviews| Index: ash/system/settings/tray_settings.h |
| diff --git a/ash/system/settings/tray_settings.h b/ash/system/settings/tray_settings.h |
| index 18536fe051bfd1006e02dac0599017ec0d60e403..fb1187c7419bc91ed669eb19f9d92edab05ba55f 100644 |
| --- a/ash/system/settings/tray_settings.h |
| +++ b/ash/system/settings/tray_settings.h |
| @@ -6,12 +6,18 @@ |
| #define ASH_SYSTEM_SETTINGS_TRAY_SETTINGS_H_ |
| #pragma once |
| +#include "ash/system/power/power_status_observer.h" |
| #include "ash/system/tray/system_tray_item.h" |
| namespace ash { |
| namespace internal { |
| -class TraySettings : public SystemTrayItem { |
| +namespace tray { |
| +class SettingsDefaultView; |
| +} |
| + |
| +class TraySettings : public SystemTrayItem, |
| + public PowerStatusObserver { |
| public: |
| TraySettings(); |
| virtual ~TraySettings(); |
| @@ -26,6 +32,11 @@ class TraySettings : public SystemTrayItem { |
| virtual void DestroyDetailedView() OVERRIDE; |
| virtual void UpdateAfterLoginStatusChange(user::LoginStatus status) OVERRIDE; |
| + // Overridden from PowerStatusObserver. |
| + virtual void OnPowerStatusChanged(const PowerSupplyStatus& status) OVERRIDE; |
| + |
| + tray::SettingsDefaultView* default_; |
|
stevenjb
2012/06/07 01:31:18
nit: default_view_?
jennyz
2012/06/07 22:06:52
Done.
|
| + |
| DISALLOW_COPY_AND_ASSIGN(TraySettings); |
| }; |