Issue metadata
Sign in to add a comment
|
mus: Allow accessibility clients to generate some events |
||||||||||||||||||||||||
Issue descriptionChromeOS has an autoclick accessibility feature: a click event (i.e. a mouse-press event followed by a mouse-release) is automatically generated when the mouse cursor remains stationary for a while (default is 1 second; configurable) after moving some distance (20 DIP; non-configurable). In mus+ash world, this needs to live in a mus-client (ideally a separate autoclick app). One of the requirements of this is that the client needs to be able to generate a click event. Since this means an external client causes click events to be dispatched to other clients, this needs a carefully designed API to make sure it cannot be misused. To mitigate potential vulnerability: . The event-generation API needs to be very restrictive. For example, the window-server will generate a mouse-click only at the current cursor location (instead of letting autoclick dictate where the click event is generated). . The event-generation API is available only to a small class of clients (e.g. 'trusted', 'accessibility' etc.) Some notes: https://docs.google.com/document/d/15d2hBjqpAl0ax2rwjftBhj2ib1-CwYTMYT30vW_nLwI/edit#heading=h.8p818irozpxi
,
Jul 18 2016
,
Aug 3 2016
,
Aug 8 2016
sadrul@ to re-assign.
,
Oct 4 2016
,
Mar 27 2017
,
Apr 21 2017
,
Apr 21 2017
,
Aug 11 2017
,
Aug 11 2017
,
Feb 26 2018
,
Feb 26 2018
,
Mar 13 2018
,
Mar 14 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/ef8990ce90516cfafd75f241d270e5489c0fc6e7 commit ef8990ce90516cfafd75f241d270e5489c0fc6e7 Author: James Cook <jamescook@chromium.org> Date: Wed Mar 14 21:06:36 2018 cros: Make autoclick work under mash Generate synthetic clicks and dispatch them via the window service. Add the remote event dispatcher interface to a new "accessibility" capability, available only to trusted apps. Bug: 821471, 628665 Test: Use autoclick on multiple displays with different scale factors Change-Id: I61352a0849a96a2bc0ae14d0b8afcca051ba67e2 Reviewed-on: https://chromium-review.googlesource.com/961668 Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#543190} [modify] https://crrev.com/ef8990ce90516cfafd75f241d270e5489c0fc6e7/ash/autoclick/common/autoclick_controller_common_delegate.h [modify] https://crrev.com/ef8990ce90516cfafd75f241d270e5489c0fc6e7/ash/components/autoclick/DEPS [modify] https://crrev.com/ef8990ce90516cfafd75f241d270e5489c0fc6e7/ash/components/autoclick/autoclick_application.cc [modify] https://crrev.com/ef8990ce90516cfafd75f241d270e5489c0fc6e7/ash/components/autoclick/autoclick_application.h [modify] https://crrev.com/ef8990ce90516cfafd75f241d270e5489c0fc6e7/ash/components/autoclick/manifest.json [modify] https://crrev.com/ef8990ce90516cfafd75f241d270e5489c0fc6e7/services/ui/manifest.json
,
Aug 1
,
Aug 14
We have API for this now. |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by sadrul@chromium.org
, Jul 15 2016