Revert "Make AnchoredPopupWindow update the popup layout when the view does." This reverts commit 23c7af98897ca74f11028b97a584a5b25ad1f963. Reason for revert: This change caused the list items to be incorrectly sized after the view is resized. See https://bugs.chromium.org/p/chromium/issues/detail?id=1316392#c6 for more details. Original change's description: > Make AnchoredPopupWindow update the popup layout when the view does. > > This CL makes AnchoredPopupWindow listen to layout changes of the list > menu's content view, updating the layout of the popup in response. > > Bug: 1316392 > Change-Id: I541234181392b55df065fba52d08c436b32676ee > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3594445 > Reviewed-by: Lijin Shen <lazzzis@google.com> > Commit-Queue: Scott Little <sclittle@chromium.org> > Auto-Submit: Scott Little <sclittle@chromium.org> > Reviewed-by: Theresa Sullivan <twellington@chromium.org> > Commit-Queue: Theresa Sullivan <twellington@chromium.org> > Cr-Commit-Position: refs/heads/main@{#994321} Bug: 1316392 Change-Id: I2aaf1ef14dde465114e7de0bada5efa4b0803cbd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3642321 Commit-Queue: Scott Little <sclittle@chromium.org> Auto-Submit: Scott Little <sclittle@chromium.org> Reviewed-by: Theresa Sullivan <twellington@chromium.org> Commit-Queue: Theresa Sullivan <twellington@chromium.org> Cr-Commit-Position: refs/heads/main@{#1004987}
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.