commit | a5e24036a831654fd74451a09a86e6ea33619dc1 | [log] [tgz] |
---|---|---|
author | Elly Fong-Jones <ellyjones@chromium.org> | Tue Jan 22 15:25:05 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jan 22 15:25:05 2019 |
tree | 3d3034fc9ff574e07f1f8be30e3648a77d36309b | |
parent | 688cba0e79b7e2e7de8c0334556956557afc675f [diff] |
macviews: honor BrowserView minimum size BrowserNonClientFrameViewMac ignores the size constraints of the BrowserView and uses a hardcoded window size. This breaks when the BrowserView's layout requires more space than the hardcoded window minimum size allows. This change causes BrowserNonClientFrameViewMac to compute the its minimum size correctly (including the Mac-specific width-to-height ratio for minimum sizes) and keeps it synced to the WindowServer so that window resizes actually honor it. Bug: 921964 Change-Id: I696471cbfbc6fdb0fa9f269a17a10f458536ca89 Reviewed-on: https://chromium-review.googlesource.com/c/1417731 Reviewed-by: Dana Fried <dfried@chromium.org> Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#624785}
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 .