Fix RTL tabstrip issue on MacOS 10.10 and 10.11
Caption buttons on most platforms stay on the leading edge of the tabstrip in RTL mode, which effectively means they switch sides. This is not true on Mac 10.10 and 10.11, however. Unfortunately, this change is not reflected in the logic, which means the tabstrip still renders in RTL on those platforms as if the caption buttons are on the right (leading) side rather than the left (where they actually are). This change makes the following functions behave correctly on MacOS 10.10 and 10.11: - BrowserNonClientFrameViewMac::CaptionButtonsOnLeadingEdge() - BrowserNonClientFrameViewMac::GetBoundsForTabStripRegion() Bug: 891311 Change-Id: I3ad3d190cab805b3960a4920b48069f3d4e782c6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1972930Reviewed-by:Elly Fong-Jones <ellyjones@chromium.org> Commit-Queue: Dana Fried <dfried@chromium.org> Cr-Commit-Position: refs/heads/master@{#726090}
Showing
Please register or sign in to comment