commit | 8f676f5a701605f6f01ecade4652ee72d55edbfa | [log] [tgz] |
---|---|---|
author | Tomasz Moniuszko <tmoniuszko@opera.com> | Fri Sep 14 11:44:34 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Sep 14 11:44:34 2018 |
tree | 2f2dc9274c2958d4c40fedf45397ccba486c78ce | |
parent | cd60481ec1c27e8db97497c7e67f93dfb665b9d4 [diff] |
Add double-click protection to bubbles Potentially dangerous situation is possible when user is performing double-click on UI element. If bubble is being shown as a result of the first click, the control under the mouse cursor (button on the bubble) can be activated with the second click. This wasn't the intention of the user as the time between clicks was too short to read the contents in the bubble that appeared. For example, user can accidentally click "Accept" button on the permission prompt bubble. This CL adds protection against such unintended clicks. Mouse and touch events are ignored for a short period of time after bubble has been shown. Bug: 864530 Change-Id: I54d229bf39dd000079b9eabd8de1cfba5103a022 Reviewed-on: https://chromium-review.googlesource.com/1140307 Commit-Queue: Tomasz Moniuszko <tmoniuszko@opera.com> Reviewed-by: Michael Wasserman <msw@chromium.org> Cr-Commit-Position: refs/heads/master@{#591324}
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 .