Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Issue 2346783002: mac rtl: pin profile switcher to left edge in rtl (Closed)

Created:
4 years, 3 months ago by Elly Fong-Jones
Modified:
4 years, 3 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews, jshin+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mac rtl: pin profile switcher to left edge in rtl Otherwise, moving the right edge of the window moves the switcher. Oops. This CL also refactors cocoa_l10n_util::ExperimentalMacRTLIsEnabled() to include a test for base::i18n::IsRTL(), since every callsite needed to check both. BUG=642732 Committed: https://crrev.com/e5804676b8bbf0fdd6d68cb0b6b97da0046180b4 Cr-Commit-Position: refs/heads/master@{#419155}

Patch Set 1 #

Total comments: 2

Patch Set 2 : ExperimentalMacRTLIsEnabled -> ShouldDoExperimentalRTLLayout #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -17 lines) Patch
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser_window_layout.mm View 1 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/framed_browser_window.mm View 1 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/l10n_util.h View 1 1 chunk +7 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/l10n_util.mm View 1 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/new_tab_button.mm View 1 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm View 1 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm View 1 4 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
Elly Fong-Jones
mark: ptal? :)
4 years, 3 months ago (2016-09-15 11:17:13 UTC) #3
Mark Mentovai
Good morning, Elly! LGTM. https://codereview.chromium.org/2346783002/diff/1/chrome/browser/ui/cocoa/l10n_util.h File chrome/browser/ui/cocoa/l10n_util.h (right): https://codereview.chromium.org/2346783002/diff/1/chrome/browser/ui/cocoa/l10n_util.h#newcode39 chrome/browser/ui/cocoa/l10n_util.h:39: // 2) The browser UI ...
4 years, 3 months ago (2016-09-15 13:46:11 UTC) #4
Elly Fong-Jones
https://codereview.chromium.org/2346783002/diff/1/chrome/browser/ui/cocoa/l10n_util.h File chrome/browser/ui/cocoa/l10n_util.h (right): https://codereview.chromium.org/2346783002/diff/1/chrome/browser/ui/cocoa/l10n_util.h#newcode39 chrome/browser/ui/cocoa/l10n_util.h:39: // 2) The browser UI is in RTL mode. ...
4 years, 3 months ago (2016-09-16 12:56:46 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2346783002/20001
4 years, 3 months ago (2016-09-16 12:57:01 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-16 13:35:34 UTC) #10
commit-bot: I haz the power
4 years, 3 months ago (2016-09-16 13:37:53 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e5804676b8bbf0fdd6d68cb0b6b97da0046180b4
Cr-Commit-Position: refs/heads/master@{#419155}

Powered by Google App Engine
This is Rietveld 408576698