WebUI NTP: fix OneGoogleBar with dynamic bar height
This CL removes the assumption that overlays are visible elements that extend past 64px (the fixed bar height) because it does not account for the push-down promo which can increase the height of the bar below the 64px threshold. This CL also removes the code that attempts to reduce the number of overlays that are tracked by trying to find a common parent overlay that houses child overlay elements. Bug: b/157846704, b/157136561 Change-Id: Ibb872a4ee1c4d7f146676b124b578fe0ba80a358 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2226634 Commit-Queue: Esmael Elmoslimany <aee@chromium.org> Reviewed-by:Tibor Goldschwendt <tiborg@chromium.org> Cr-Commit-Position: refs/heads/master@{#774719}
Showing
Please register or sign in to comment