Searched refs:PowerLibrary (Results 1 – 10 of 10) sorted by relevance
19 class PowerLibrary {23 virtual void PowerChanged(PowerLibrary* obj) = 0;26 virtual ~PowerLibrary() {} in ~PowerLibrary()58 static PowerLibrary* GetImpl(bool stub);
15 class PowerLibraryImpl : public PowerLibrary {162 class PowerLibraryStubImpl : public PowerLibrary {184 PowerLibrary* PowerLibrary::GetImpl(bool stub) { in GetImpl()
30 class PowerLibrary; variable67 void SetPowerLibrary(PowerLibrary* library, bool own);91 PowerLibrary* GetPowerLibrary();166 Library<PowerLibrary> power_lib_;
14 class MockPowerLibrary : public PowerLibrary {
21 class LowBatteryObserver : public PowerLibrary::Observer {27 virtual void PowerChanged(PowerLibrary* object);
25 void LowBatteryObserver::PowerChanged(PowerLibrary* object) { in PowerChanged()
28 public PowerLibrary::Observer {56 virtual void PowerChanged(PowerLibrary* obj);
33 public PowerLibrary::Observer,62 virtual void PowerChanged(PowerLibrary* obj) {} in PowerChanged()
111 void PowerMenuButton::PowerChanged(PowerLibrary* obj) { in PowerChanged()119 PowerLibrary* cros = CrosLibrary::Get()->GetPowerLibrary(); in UpdateIconAndLabelInfo()
225 chromeos::PowerLibrary* power_library = CrosLibrary::Get()->GetPowerLibrary(); in GetBatteryInfo()