commit | b75db891786a3484ea6cd16a217d3ae3b6752227 | [log] [tgz] |
---|---|---|
author | Antonio Gomes <tonikitoo@igalia.com> | Fri Jan 19 14:57:45 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jan 19 14:57:45 2018 |
tree | 4d30f36816c29631cc0d80b5680209f1950dde26 | |
parent | 33b0d14d0f6ef4e0cef5566438bfb0807a9f0c6f [diff] |
Factor out key auto repeat code into a helper class This CL factors out KeyboardEvDev class' key auto repeat logic into a helper class: EventAutoRepeatHandler. There is no functionality change, but it allows other classes to make use of it, including WaylandKeyboard. In a follow up CL, an extra hook will be added so that clients of the newly added class have a chance to avoid spurios repeats, by (sync) querying the system of key up events. This is helpful whenever input latency increases. BUG=578890 Change-Id: Ie30f5f4bad1d9f344e62484cfc108f87b025d025 Reviewed-on: https://chromium-review.googlesource.com/868890 Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by: Michael Spang <spang@chromium.org> Commit-Queue: Antonio Gomes <tonikitoo@igalia.com> Cr-Commit-Position: refs/heads/master@{#530509}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .