Chromium Code Reviews| Index: chrome/browser/chromeos/system/input_device_settings.h |
| diff --git a/chrome/browser/chromeos/system/input_device_settings.h b/chrome/browser/chromeos/system/input_device_settings.h |
| index 5cf208f29a27b384e3d53e4eaf9dad212c6a6cdf..5d305af800d29a4903b2113040b4be7d97c7fc00 100644 |
| --- a/chrome/browser/chromeos/system/input_device_settings.h |
| +++ b/chrome/browser/chromeos/system/input_device_settings.h |
| @@ -181,9 +181,13 @@ class CHROMEOS_EXPORT InputDeviceSettings { |
| // user's preferences. |
| void UpdateTouchDevicesStatusFromActiveProfilePrefs(); |
| - // Toggles the status of Touchscreen/Touchpad on or off and updates the local |
| - // prefs. |
| - void ToggleTouchscreen(); |
| + // Returns true if touchscreen is on, otherwise false. |
| + bool IsTouchscreenEnabled() const; |
| + |
| + // Sets the status of touchscreen to |enabled| and updates the local prefs. |
| + void SetTouchscreenEnabled(bool enabled); |
| + |
| + // Toggles the status of Touchpad on or off and updates the local prefs. |
|
Daniel Erat
2016/11/30 22:58:07
nit: s/Touchpad/touchpad/
Qiang(Joe) Xu
2016/12/02 17:42:52
Done.
|
| void ToggleTouchpad(); |
| // Calls |callback|, possibly asynchronously, after determining if a touchpad |