commit | 563f0202583eafaa22811d73fd2284a504b3bb55 | [log] [tgz] |
---|---|---|
author | Xiaoqian Dai <xdai@chromium.org> | Fri Oct 04 22:01:10 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Oct 04 22:01:10 2019 |
tree | cb3c5685871c95b5d7c6df7ba5596eb556fa5e17 | |
parent | 0edf9c369e5e2900a95ef291a93de0429d4c97ee [diff] |
Introduce ScopedEventTargetingBlocker class. It's a class to temporarily block event targeting for a window. There can be multiple ScopedEventTargetingBlocker placed on the same window and when that happens, the original event targeting policy will only be restored after all ScopedEventTargetingBlockers are removed from the window. No functional change in this CL. This CL will be useful in my another CL for Bug 997885. Bug: 997885 Change-Id: I5f77eb001428be896570d5f3a5b92d98465374a2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1835279 Commit-Queue: Xiaoqian Dai <xdai@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Ahmed Fakhry <afakhry@chromium.org> Cr-Commit-Position: refs/heads/master@{#703060}
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 .