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

Issue 2555033003: Add ScopedMacRTL class for Cocoa browser RTL testing (Closed)

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

Description

Add ScopedForceRTLMac class for Cocoa browser RTL testing BUG=673362 Committed: https://crrev.com/0390c3aa26a58e473d0b18c3a8df6a28ccbe68ff Cr-Commit-Position: refs/heads/master@{#438185}

Patch Set 1 #

Patch Set 2 : Add deps to base/test:test_support and base:i18n from Mac ui/base:test_support #

Patch Set 3 : Add to deps AFTER deps exists #

Total comments: 13

Patch Set 4 : Review comments #

Total comments: 10

Patch Set 5 : Whitespace #

Total comments: 8

Patch Set 6 : Move scoper to c/b/ui/cocoa/test, revert the rest #

Patch Set 7 : Actually include moved files #

Total comments: 4

Patch Set 8 : Review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -24 lines) Patch
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_controller_unittest.mm View 1 2 3 4 5 2 chunks +2 lines, -24 lines 0 comments Download
A chrome/browser/ui/cocoa/test/scoped_force_rtl_mac.h View 1 2 3 4 5 6 7 1 chunk +32 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/test/scoped_force_rtl_mac.mm View 1 2 3 4 5 6 1 chunk +46 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (20 generated)
lgrey
PTAL :)
4 years ago (2016-12-07 15:28:15 UTC) #10
Robert Sesek
https://codereview.chromium.org/2555033003/diff/40001/ui/base/cocoa/rtl_util.h File ui/base/cocoa/rtl_util.h (right): https://codereview.chromium.org/2555033003/diff/40001/ui/base/cocoa/rtl_util.h#newcode1 ui/base/cocoa/rtl_util.h:1: // Copyright (c) 2016 The Chromium Authors. All rights ...
4 years ago (2016-12-07 16:09:59 UTC) #11
lgrey
On 2016/12/07 16:09:59, Robert Sesek wrote: > https://codereview.chromium.org/2555033003/diff/40001/ui/base/cocoa/rtl_util.h > File ui/base/cocoa/rtl_util.h (right): > > https://codereview.chromium.org/2555033003/diff/40001/ui/base/cocoa/rtl_util.h#newcode1 ...
4 years ago (2016-12-07 17:28:42 UTC) #12
Robert Sesek
LGTM after you add some more whitespace :) > Done all (I guess Rietveld doesn't ...
4 years ago (2016-12-07 19:21:01 UTC) #13
lgrey
Thanks! + Trent for ui/base/test https://codereview.chromium.org/2555033003/diff/60001/ui/base/cocoa/rtl_feature.h File ui/base/cocoa/rtl_feature.h (right): https://codereview.chromium.org/2555033003/diff/60001/ui/base/cocoa/rtl_feature.h#newcode13 ui/base/cocoa/rtl_feature.h:13: UI_BASE_EXPORT extern const base::Feature ...
4 years ago (2016-12-07 19:34:21 UTC) #14
tapted
Can you add a BUG=? (maybe 642732?) The main thing... I'm not sure this belongs ...
4 years ago (2016-12-07 23:20:27 UTC) #16
lgrey
On 2016/12/07 23:20:27, tapted wrote: > The main thing... I'm not sure this belongs in ...
4 years ago (2016-12-08 15:05:57 UTC) #17
Robert Sesek
On 2016/12/08 15:05:57, lgrey wrote: > On 2016/12/07 23:20:27, tapted wrote: > > > The ...
4 years ago (2016-12-08 20:02:09 UTC) #18
lgrey
On 2016/12/08 20:02:09, Robert Sesek wrote: > On 2016/12/08 15:05:57, lgrey wrote: > > On ...
4 years ago (2016-12-08 20:17:50 UTC) #19
tapted
On 2016/12/08 20:17:50, lgrey wrote: > On 2016/12/08 20:02:09, Robert Sesek wrote: > > On ...
4 years ago (2016-12-09 00:03:59 UTC) #20
tapted
On 2016/12/09 00:03:59, tapted wrote: > Does either of src/chrome/test/base or src/chrome/browser/ui/test work? Ah, except ...
4 years ago (2016-12-09 00:11:03 UTC) #21
lgrey
Updated, PTAL Renamed the class to ScopedForceMacRTL and moved to c/b/ui/cocoa/test Reverted everything else[1], since ...
4 years ago (2016-12-12 18:02:09 UTC) #23
Robert Sesek
LGTM
4 years ago (2016-12-12 19:13:24 UTC) #24
tapted
nice. lgtm (thanks for splitting it up, and sorry for the yaks :) https://codereview.chromium.org/2555033003/diff/120001/chrome/browser/ui/cocoa/test/scoped_force_rtl_mac.h File ...
4 years ago (2016-12-12 22:20:38 UTC) #25
lgrey
Thanks! https://codereview.chromium.org/2555033003/diff/120001/chrome/browser/ui/cocoa/test/scoped_force_rtl_mac.h File chrome/browser/ui/cocoa/test/scoped_force_rtl_mac.h (right): https://codereview.chromium.org/2555033003/diff/120001/chrome/browser/ui/cocoa/test/scoped_force_rtl_mac.h#newcode5 chrome/browser/ui/cocoa/test/scoped_force_rtl_mac.h:5: #ifndef CHROME_BROWSER_UI_COCOA__TEST_SCOPED_FORCE_RTL_MAC_H__ On 2016/12/12 22:20:38, tapted wrote: > ...
4 years ago (2016-12-12 22:38:20 UTC) #26
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/2555033003/140001
4 years ago (2016-12-13 15:22:00 UTC) #33
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years ago (2016-12-13 16:19:17 UTC) #36
commit-bot: I haz the power
4 years ago (2016-12-13 16:21:39 UTC) #38
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/0390c3aa26a58e473d0b18c3a8df6a28ccbe68ff
Cr-Commit-Position: refs/heads/master@{#438185}

Powered by Google App Engine
This is Rietveld 408576698