commit | 359cece04b0da05c40ce5ed9c5333df574069a7d | [log] [tgz] |
---|---|---|
author | Zachary Tan <tanzachary@chromium.org> | Wed May 15 22:12:24 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 15 22:12:24 2024 |
tree | 5589d3dd55ebbd177b7898dd685bc1d563cc0efb | |
parent | d0fc6d3a09d2445ca37c21a511dc2c1fb251d9bd [diff] |
[FedCM] Fix bubble dialog positioning issues This patch: 1. Changes the way we compute the bubble dialog position, such that we do not depend on the bubble dialog's height, which has caused drastic shifts in the UI positioning in unexpected cases. 2. Considers the web contents' bounds when showing the bubble dialog. If the bubble dialog cannot fit in the web contents, the dialog is hidden or remains hidden. When the web contents is later resized to be able the fit the bubble dialog, it is then shown. Bug: 335829872, 335481979, 338233148 Change-Id: Ia3a828ec41786873ff9c81982b25f88bf5a99fb2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5527555 Commit-Queue: Zachary Tan <tanzachary@chromium.org> Reviewed-by: Yi Gu <yigu@chromium.org> Reviewed-by: Nicolás Peña <npm@chromium.org> Cr-Commit-Position: refs/heads/main@{#1301618}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.