commit | 6816fdd6ba9e7914cb65ca14327d04f57a1da024 | [log] [tgz] |
---|---|---|
author | Antonio Gomes <tonikitoo@igalia.com> | Mon Jan 22 18:08:01 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jan 22 18:08:01 2018 |
tree | 9950ea05b51508cb0a957cf9dd46e3524e6919fb | |
parent | e4a144fedc9d2a0547ccd9291444ddee6b8d3791 [diff] |
Introduce throttle mechanism to EventAutoRepeatHandler::Delegate This CL introduces a way for EventAutoRepeatHandler clients to throttle key auto repeats, and eliminate spurious key events dispatching under janky scenarios. More specifically, a new hook is added to the delegate class, which allows clients to flush the input queue before dispatching a key auto repeat event - in case there has been an "key up" event, for instance. For the sake of easier review, this CL only touches KeyboardEvdev although the existing behavior remains unchanged. The Ozone/Wayland changes are going to be submitted in a follow up CL: https://crrev.com/c/874670. BUG=578890 Change-Id: I06695c94d6e8ada8a24cfe651d62fcc6957e7f5f Reviewed-on: https://chromium-review.googlesource.com/874650 Reviewed-by: Michael Spang <spang@chromium.org> Commit-Queue: Antonio Gomes <tonikitoo@igalia.com> Cr-Commit-Position: refs/heads/master@{#530911}
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 .