HomeSort by relevance Sort by last modified time
    Searched refs:TrayPower (Results 1 - 4 of 4) sorted by null

  /external/chromium_org/ash/system/chromeos/power/
tray_power_unittest.cc 52 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::kLowPowerMinutes * 60 + 29)
    [all...]
tray_power.cc 134 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)
173 TrayPower::~TrayPower()
    [all...]
tray_power.h 28 class ASH_EXPORT TrayPower : public SystemTrayItem,
52 TrayPower(SystemTray* system_tray,
54 virtual ~TrayPower();
109 DISALLOW_COPY_AND_ASSIGN(TrayPower);
  /external/chromium_org/ash/system/tray/
system_tray.cc 180 AddTrayItem(new TrayPower(this, message_center::MessageCenter::Get()));

Completed in 66 milliseconds