commit | e6ac13bb22723098779ad45465f1a0e6887c0913 | [log] [tgz] |
---|---|---|
author | Collin Baker <collinbaker@chromium.org> | Wed May 15 22:01:11 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed May 15 22:01:11 2019 |
tree | 09ab92b685191537fecd974c503224cd86f7cc9b | |
parent | d981d5f2c1ac1fff8d70c0871ac5681a8b018dfc [diff] |
Allow layers to be added directly to a View for InkDrops This adds new methods View::AddLayerBeneathView and View::RemoveLayerBeneathView for managing layers attached directly to a View's layer tree. This will allow for various View "decorations" to be implemented without infrastructure like InkDropHostView. As part of the InkDrop refactor, this ports InkDropHostView over to using these new methods. The short-term goal is to remove overrides of InkDropHostView::{Add,Remove}InkDropLayer. Instead, Views that need special layer stacking will override the View methods. Bug: 931964, 946738 Change-Id: I12579051da294ca47bcb6f3425635f0e734e3992 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1603827 Commit-Queue: Collin Baker <collinbaker@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Peter Boström <pbos@chromium.org> Cr-Commit-Position: refs/heads/master@{#660154}
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 .