Chromium Code Reviews| Index: ash/common/shell_delegate.h |
| diff --git a/ash/common/shell_delegate.h b/ash/common/shell_delegate.h |
| index 27d59cff49f0f1b6b4e3b1e0bf4625e1c04a92fe..afb539f1fcd1b43e575025d6227812ee1dec5be5 100644 |
| --- a/ash/common/shell_delegate.h |
| +++ b/ash/common/shell_delegate.h |
| @@ -133,9 +133,14 @@ class ASH_EXPORT ShellDelegate { |
| virtual gfx::Image GetDeprecatedAcceleratorImage() const = 0; |
| - // Toggles the status of the touchpad / touchscreen on or off. |
| + // Returns true if touchscreen is on, otherwise false. |
| + virtual bool IsTouchscreenEnabled() const = 0; |
| + |
| + // Sets the status of touchscreen to |enabled|. |
| + virtual void SetTouchscreenEnabled(bool enabled) {} |
|
Daniel Erat
2016/11/30 22:58:07
should this also be abstract? it feels a bit stran
Qiang(Joe) Xu
2016/12/02 17:42:51
Done.
|
| + |
| + // Toggles the status of the touchpad on or off. |
| virtual void ToggleTouchpad() {} |
| - virtual void ToggleTouchscreen() {} |
| }; |
| } // namespace ash |