Searched refs:TrayPower (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/ash/system/chromeos/power/
H A Dtray_power_unittest.cc52 TrayPower* tray_power() { return tray_power_.get(); }
58 tray_power_.reset(new TrayPower(NULL, message_center_.get()));
67 TrayPower::NotificationState notification_state() const {
101 scoped_ptr<TrayPower> tray_power_;
146 EXPECT_EQ(TrayPower::NOTIFICATION_NONE, notification_state());
152 EXPECT_EQ(TrayPower::NOTIFICATION_NONE, notification_state());
161 EXPECT_EQ(TrayPower::NOTIFICATION_NONE, notification_state());
166 low.set_battery_time_to_empty_sec(TrayPower::kLowPowerMinutes * 60 + 30);
168 EXPECT_EQ(TrayPower::NOTIFICATION_NONE, notification_state());
172 low.set_battery_time_to_empty_sec(TrayPower
[all...]
H A Dtray_power.cc134 explicit PowerNotificationView(TrayPower* owner)
155 const int TrayPower::kCriticalMinutes = 5;
156 const int TrayPower::kLowPowerMinutes = 15;
157 const int TrayPower::kNoWarningMinutes = 30;
158 const int TrayPower::kCriticalPercentage = 5;
159 const int TrayPower::kLowPowerPercentage = 10;
160 const int TrayPower::kNoWarningPercentage = 15;
162 TrayPower::TrayPower(SystemTray* system_tray, MessageCenter* message_center) function in class:ash::TrayPower
173 TrayPower
[all...]
H A Dtray_power.h28 class ASH_EXPORT TrayPower : public SystemTrayItem, class in namespace:ash
52 TrayPower(SystemTray* system_tray,
54 virtual ~TrayPower();
109 DISALLOW_COPY_AND_ASSIGN(TrayPower);
/external/chromium_org/ash/system/tray/
H A Dsystem_tray.cc179 AddTrayItem(new TrayPower(this, message_center::MessageCenter::Get()));

Completed in 78 milliseconds