commit | 8dccc2d4dee681ba10ddc3d29c483f273648e8c5 | [log] [tgz] |
---|---|---|
author | Eliot Courtney <edcourtney@google.com> | Thu Nov 01 09:29:00 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Nov 01 09:29:00 2018 |
tree | 5df34d76b4652c0e1343e57faf295cc91a65432d | |
parent | b5f31e6c1a6365cd270db58fa4f7ce2fd814f407 [diff] |
Track occluded region in WindowOcclusionTracker. We would like to automatically trigger Picture-in-Picture when a certain amount of the window is occluded. To do this, we need a way to know how much of a window is occluded by other windows. This occlusion could come from multiple windows, and an occlusion tracker for aura already exists. This CL extends the existing occlusion tracking functionality to also track an occluded region for tracked windows. Bug: 883157 Bug: 841886 Bug: b/112668686 Bug: b/110011377 Test: unit test Change-Id: I0d6618ab05109cc46af0cfd72ecc5cbca2f200d4 Reviewed-on: https://chromium-review.googlesource.com/c/1179433 Commit-Queue: Eliot Courtney <edcourtney@chromium.org> Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by: François Doray <fdoray@chromium.org> Cr-Commit-Position: refs/heads/master@{#604532}
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 .