commit | 052ae71abd82e18f19f79138c7b5f9e7e5fc9625 | [log] [tgz] |
---|---|---|
author | Xianda Sun <sunxd@chromium.org> | Wed Jan 23 20:29:48 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jan 23 20:29:48 2019 |
tree | 1522d5e2357997c418e2be7c8abf6743dc36345f | |
parent | bf764290063665ea0a0e92913826e05fda44fc79 [diff] |
Make Layer::ShouldHitTest respect SetHideLayerAndSubtree Ui::Layers call SetHideLayerAndSubtree when they become visible or hidden. But a cc::Layer with hide_layer_and_subtree = true still draws its content and is considered hit-testable, though not displayed on the screen. This patch makes cc hit testing respect hide_layer_and_subtree and do not hit test a layer if it's drawn but not displayed on screen. Bug: 901882 Change-Id: I18c9511c18628067dbcb471cd8dfe43a1e3c6426 Reviewed-on: https://chromium-review.googlesource.com/c/1413393 Reviewed-by: weiliangc <weiliangc@chromium.org> Commit-Queue: Xianda Sun <sunxd@chromium.org> Cr-Commit-Position: refs/heads/master@{#625335}
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 .