I haven't started yet. I added Set{Get}TouchscreenEnabled in ShellDelegate. So I would to like to help here. But let me know if you have started. Thanks!
Summary: Remove ShellDelegate's GetTouchscreenEnabled, SetTouchscreenEnabled, ToggleTouchpad and use InputDeviceControllerClient (was: Refactor GetTouchscreenEnabled, SetTouchscreenEnabled, ToggleTouchpad in ShellDelegate for MASH)
Indeed. The right thing to do is update InputDeviceControllerClient with the logic you need (it has the setter, but not toggle or get). InputDeviceControllerClient is intended for the functionality you want. I've updated the summary to reflect this.
Hi Scott, I think these three methods should move to ash/. They touch the prefs which we can move from chrome/ to ash/. And from ash/ we can call InputDeviceControllerClient's SetInternalTouchpadEnabled and SetTouchscreensEnabled methods.
Comment 1 by jamescook@chromium.org
, Sep 8 2017