Chromium Code Reviews| Index: chromeos/dbus/power_manager_client.h |
| diff --git a/chromeos/dbus/power_manager_client.h b/chromeos/dbus/power_manager_client.h |
| index 1381287cecf36975d93e0b9c67830272cf51f1a6..8e0c92518737d70aa79139e9bb879244da831051 100644 |
| --- a/chromeos/dbus/power_manager_client.h |
| +++ b/chromeos/dbus/power_manager_client.h |
| @@ -61,6 +61,9 @@ class CHROMEOS_EXPORT PowerManagerClient : public DBusClient { |
| // |user_initiated| is true if the action is initiated by the user. |
| virtual void BrightnessChanged(int level, bool user_initiated) {} |
| + // Noitify android setting about brightness change |
|
Muyuan
2017/04/05 18:41:08
dbus/power_manager_client is pretty general and it
yueli
2017/04/05 19:59:46
Done.
|
| + virtual void NotifyBrightnessChange(double brightness) {} |
|
Muyuan
2017/04/05 18:41:08
This function is probably not needed. You can over
yueli
2017/04/05 19:59:46
Done.
|
| + |
| // Called when peripheral device battery status is received. |
| // |path| is the sysfs path for the battery of the peripheral device. |
| // |name| is the human readble name of the device. |
| @@ -165,6 +168,9 @@ class CHROMEOS_EXPORT PowerManagerClient : public DBusClient { |
| virtual void GetScreenBrightnessPercent( |
| const GetScreenBrightnessPercentCallback& callback) = 0; |
| + // Get the current screen brightness and syncrhonize it to android settings |
| + virtual void SyncScreenBrightness() = 0; |
| + |
| // Decreases the keyboard brightness. |
| virtual void DecreaseKeyboardBrightness() = 0; |