commit | 8a51e3499e6ed5517e8ca9774c9a22b8c7ec0c66 | [log] [tgz] |
---|---|---|
author | alanlxl <alanlxl@chromium.org> | Wed Mar 16 05:44:49 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 16 05:44:49 2022 |
tree | 70fd1efed99a23abf2103114b383d64509948241 | |
parent | 011c099351ea01eecfdf2f1d827588b7822ebe7a [diff] |
Add callbacks for reporting/fetching stylus state This CL adds callbacks to TouchEventConverterEvdev, so that it can report stylus state to InputDeviceFactoryEvdev if it's a stylus device, or fetch the latest stylus state from InputDeviceFactoryEvdev if it's a touch screen device. This is for the upcoming stylus-based palm rejection model. Bug: b/220014861 Test: Passes all tests in events_unittests Change-Id: If98615acd551c99227f4c1b1107c6db09074f9b8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3459770 Reviewed-by: Rob Schonberger <robsc@google.com> Reviewed-by: Rob Schonberger <robsc@chromium.org> Commit-Queue: Xinglong Luan <alanlxl@chromium.org> Cr-Commit-Position: refs/heads/main@{#981498}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.