[Mac] Fix overlapping controls when menu bar is visible in fullscreen.
When the mouse is at the top of the screen in fullscreen and the toolbar is visible, the toolbar slides down to make room for the menu bar. The offset was calculated in GetBoundsForTabStrip(), which only affects some of of layout. This change moves it to GetTopInset(). Bug: 865901 Change-Id: I5de02ac951f8347aeadc4af7238ea8f9172edc68 Reviewed-on: https://chromium-review.googlesource.com/1147477Reviewed-by:Elly Fong-Jones <ellyjones@chromium.org> Commit-Queue: Sidney San Martín <sdy@chromium.org> Cr-Commit-Position: refs/heads/master@{#577503}
Showing
Please register or sign in to comment