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

Issue 2488833002: [Mac] Reverse tabs in RTL mode (Closed)

Created:
4 years, 1 month ago by lgrey
Modified:
4 years, 1 month ago
Reviewers:
Elly Fong-Jones, Nico
CC:
chromium-reviews, miu+watch_chromium.org, jshin+watch_chromium.org, mac-reviews_chromium.org, Nico
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mac] Reverse tabs in RTL mode Also exposes the kExperimentalMacRTL flag publicly so that it can be enabled in tests. BUG=648559 Committed: https://crrev.com/052b36d8d021d293f9cbd8c32b1ddee5c99ade8d Cr-Commit-Position: refs/heads/master@{#431004}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Leave Y mask on icon #

Patch Set 3 : Format #

Patch Set 4 : Update icon mask and add force RTL direction #

Unified diffs Side-by-side diffs Delta from patch set Stats (+267 lines, -155 lines) Patch
M chrome/browser/ui/cocoa/l10n_util.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/l10n_util.mm View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_controller.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_controller.mm View 1 2 3 9 chunks +84 lines, -41 lines 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_controller_unittest.mm View 1 2 3 4 chunks +181 lines, -112 lines 0 comments Download

Messages

Total messages: 29 (13 generated)
lgrey
Elly PTAL :)
4 years, 1 month ago (2016-11-08 21:11:01 UTC) #2
Elly Fong-Jones
lgtm :) Nice work!
4 years, 1 month ago (2016-11-09 15:11:36 UTC) #3
lgrey
Thanks, Elly! Nico PTAL for owners
4 years, 1 month ago (2016-11-09 15:19:28 UTC) #4
Nico
lgtm, thanks. If I read this right, this makes it so that the 0th tab ...
4 years, 1 month ago (2016-11-09 15:27:35 UTC) #6
lgrey
On 2016/11/09 15:27:35, Nico wrote: > lgtm, thanks. > > If I read this right, ...
4 years, 1 month ago (2016-11-09 15:36:34 UTC) #7
Nico
But why does autosizing in Y change? LTR should only affect X? On Wed, Nov ...
4 years, 1 month ago (2016-11-09 15:44:07 UTC) #8
lgrey
https://codereview.chromium.org/2488833002/diff/1/chrome/browser/ui/cocoa/tabs/tab_controller.mm File chrome/browser/ui/cocoa/tabs/tab_controller.mm (right): https://codereview.chromium.org/2488833002/diff/1/chrome/browser/ui/cocoa/tabs/tab_controller.mm#newcode124 chrome/browser/ui/cocoa/tabs/tab_controller.mm:124: ? NSViewMaxXMargin | NSViewMinYMargin On 2016/11/09 15:27:34, Nico wrote: ...
4 years, 1 month ago (2016-11-09 15:48:51 UTC) #9
Nico
https://codereview.chromium.org/2488833002/diff/1/chrome/browser/ui/cocoa/tabs/tab_controller.mm File chrome/browser/ui/cocoa/tabs/tab_controller.mm (right): https://codereview.chromium.org/2488833002/diff/1/chrome/browser/ui/cocoa/tabs/tab_controller.mm#newcode124 chrome/browser/ui/cocoa/tabs/tab_controller.mm:124: ? NSViewMaxXMargin | NSViewMinYMargin On 2016/11/09 15:48:51, lgrey wrote: ...
4 years, 1 month ago (2016-11-09 15:52:29 UTC) #10
lgrey
On 2016/11/09 15:52:29, Nico wrote: > https://codereview.chromium.org/2488833002/diff/1/chrome/browser/ui/cocoa/tabs/tab_controller.mm > File chrome/browser/ui/cocoa/tabs/tab_controller.mm (right): > > https://codereview.chromium.org/2488833002/diff/1/chrome/browser/ui/cocoa/tabs/tab_controller.mm#newcode124 > ...
4 years, 1 month ago (2016-11-09 16:17:54 UTC) #11
Nico
I meant it the other way: Favicons are always 16px, while the button might be ...
4 years, 1 month ago (2016-11-09 16:23:36 UTC) #14
lgrey
PTAL again, fixed the autoresizing mask in one more place and changed default locale for ...
4 years, 1 month ago (2016-11-09 18:47:16 UTC) #19
Nico
lgtm
4 years, 1 month ago (2016-11-09 19:00:25 UTC) #20
lgrey
Thanks, Nico!
4 years, 1 month ago (2016-11-09 19:11:50 UTC) #25
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/2488833002/60001
4 years, 1 month ago (2016-11-09 19:11:54 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-11-09 19:18:25 UTC) #27
commit-bot: I haz the power
4 years, 1 month ago (2016-11-09 19:44:43 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/052b36d8d021d293f9cbd8c32b1ddee5c99ade8d
Cr-Commit-Position: refs/heads/master@{#431004}

Powered by Google App Engine
This is Rietveld 408576698