Chromium Code Reviews| Index: chromeos/dbus/fake_power_manager_client.h |
| diff --git a/chromeos/dbus/fake_power_manager_client.h b/chromeos/dbus/fake_power_manager_client.h |
| index d408729a125a8e065c7f7d3bbbd45129539756a8..54dd227398d7e0777ccb13bc725ed4f9dfac5b02 100644 |
| --- a/chromeos/dbus/fake_power_manager_client.h |
| +++ b/chromeos/dbus/fake_power_manager_client.h |
| @@ -93,6 +93,9 @@ class CHROMEOS_EXPORT FakePowerManagerClient : public PowerManagerClient { |
| // Notifies observers that the power button has been pressed or released. |
| void SendPowerButtonEvent(bool down, const base::TimeTicks& timestamp); |
| + // Notifies observers that LidState is switched to |state|. |
| + void SendLidEvent(LidState state, const base::TimeTicks& timestamp); |
|
Daniel Erat
2017/04/13 04:31:16
how about renaming this to SetLidState? that makes
Qiang(Joe) Xu
2017/04/13 04:49:40
agree. Done.
|
| + |
| // Updates |props_| and notifies observers of its changes. |
| void UpdatePowerProperties( |
| const power_manager::PowerSupplyProperties& power_props); |