[omnibox] Re-align the dropdown to the omnibox on device scale change
Currently, when the device scale changes, we accept the Window Manager's instructions on how to re-position the omnibox popup. That doesn't work anymore in the WebUI tab-strip world, and actually if it ever worked in the past, it seems like it must have by chance only. This CL makes it so that on widget resize (which should only happen during device scale change or rotation), we explicitly update the popup appearance, which should re-align it to wherever the omnibox currently is. I tested this by changing the device scale (Ctrl+Shift+Plus) on ChromeOS on Linux with the omnibox popup open. Bug: 1027387 Change-Id: If80e20ef276704363c01ec98a685eb791f29ae56 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1951335 Commit-Queue: Tommy Li <tommycli@chromium.org> Reviewed-by:Peter Boström <pbos@chromium.org> Cr-Commit-Position: refs/heads/master@{#721703}
Showing
Please register or sign in to comment