mac: Fix bug where finder window extends past bottom of screen.
AppKit is responsible for determining the height of the NSSavePanel and NSOpenPanel. It will never pick a height that causes the panel to be taller than the screen, but it may pick a height that requires the panel to be positioned near the top of its presenting window. Chrome's logic for positioning panels did not take this into consideration, so it was possible to position a panel that extended past the bottom of the screen. This CL fixes this oversight. BUG=423635 Review URL: https://codereview.chromium.org/665933005 Cr-Commit-Position: refs/heads/master@{#301533}
Showing
Please register or sign in to comment