Home
last modified time | relevance | path

Searched refs:PowerLibrary (Results 1 – 10 of 10) sorted by relevance

/external/chromium/chrome/browser/chromeos/cros/
Dpower_library.h19 class PowerLibrary {
23 virtual void PowerChanged(PowerLibrary* obj) = 0;
26 virtual ~PowerLibrary() {} in ~PowerLibrary()
58 static PowerLibrary* GetImpl(bool stub);
Dpower_library.cc15 class PowerLibraryImpl : public PowerLibrary {
162 class PowerLibraryStubImpl : public PowerLibrary {
184 PowerLibrary* PowerLibrary::GetImpl(bool stub) { in GetImpl()
Dcros_library.h30 class PowerLibrary; variable
67 void SetPowerLibrary(PowerLibrary* library, bool own);
91 PowerLibrary* GetPowerLibrary();
166 Library<PowerLibrary> power_lib_;
Dmock_power_library.h14 class MockPowerLibrary : public PowerLibrary {
/external/chromium/chrome/browser/chromeos/
Dlow_battery_observer.h21 class LowBatteryObserver : public PowerLibrary::Observer {
27 virtual void PowerChanged(PowerLibrary* object);
Dlow_battery_observer.cc25 void LowBatteryObserver::PowerChanged(PowerLibrary* object) { in PowerChanged()
/external/chromium/chrome/browser/chromeos/status/
Dpower_menu_button.h28 public PowerLibrary::Observer {
56 virtual void PowerChanged(PowerLibrary* obj);
Dclock_menu_button.h33 public PowerLibrary::Observer,
62 virtual void PowerChanged(PowerLibrary* obj) {} in PowerChanged()
Dpower_menu_button.cc111 void PowerMenuButton::PowerChanged(PowerLibrary* obj) { in PowerChanged()
119 PowerLibrary* cros = CrosLibrary::Get()->GetPowerLibrary(); in UpdateIconAndLabelInfo()
/external/chromium/chrome/browser/automation/
Dtesting_automation_provider_chromeos.cc225 chromeos::PowerLibrary* power_library = CrosLibrary::Get()->GetPowerLibrary(); in GetBatteryInfo()