commit | 1289c6b4d058c790f2d69a2f307e603e18e5cca0 | [log] [tgz] |
---|---|---|
author | Philip Rogers <pdr@chromium.org> | Mon Jan 14 16:14:56 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jan 14 16:14:56 2019 |
tree | 549893eeadc98b1ecf13ba7fb325220653fac791 | |
parent | 13be282fc45460eff28c587e9d166f6afd984f60 [diff] |
Touch action hit test display items should count as drawable content This patch updates PaintLayer::HasBoxDecorationsOrBackground to return true if touch-action rects are painted in the background. This ensures GraphicsLayer::DrawsContent is true if touch-action rects paint so that the GraphicsLayer is included when ScrollingCoordinator collects touch action rects in UpdateLayerTouchActionRects. This fixes a bug where an embeded object's touch action rects were skipped. A unit test has been added and this also passes the pdf extension unit test in: https://chromium-review.googlesource.com/c/chromium/src/+/1407488/1 Bug: 919286 Change-Id: I74f58722509dfb826f3e0ca7701f58cb35194fd0 Reviewed-on: https://chromium-review.googlesource.com/c/1408215 Reviewed-by: Xianda Sun <sunxd@chromium.org> Commit-Queue: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#622468}
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 .