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

Issue 2472283002: In chrome://settings/fonts, fonts are not alphabetically ordered. (Closed)

Created:
4 years, 1 month ago by dhna
Modified:
4 years, 1 month ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, mac-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

In chrome://settings/fonts, fonts are not alphabetically ordered. NSFontManager does not provide sorted font lists. So We should sort it manually. BUG=655594 Committed: https://crrev.com/ac2a392c1984cb75dee0185b723a1f482aa7e77a Cr-Commit-Position: refs/heads/master@{#430048}

Patch Set 1 #

Patch Set 2 : CaseInsensitiveCompare #

Patch Set 3 : fix #

Total comments: 2

Patch Set 4 : Change to localizedStandardCompare #

Patch Set 5 : Sort by localizedName. #

Patch Set 6 : Add comment. #

Total comments: 1

Patch Set 7 : Change sort #

Total comments: 1

Patch Set 8 : nit fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -1 line) Patch
M content/common/font_list_mac.mm View 1 2 3 4 5 6 7 1 chunk +13 lines, -1 line 0 comments Download

Messages

Total messages: 24 (11 generated)
dhna
@avi @dbeam PTAL.
4 years, 1 month ago (2016-11-04 02:10:57 UTC) #2
dhna
On 2016/11/04 02:10:57, dhna wrote: > @avi > @dbeam > PTAL. It works right after ...
4 years, 1 month ago (2016-11-04 04:02:56 UTC) #5
Avi (use Gerrit)
https://codereview.chromium.org/2472283002/diff/40001/content/common/font_list_mac.mm File content/common/font_list_mac.mm (right): https://codereview.chromium.org/2472283002/diff/40001/content/common/font_list_mac.mm#newcode23 content/common/font_list_mac.mm:23: [fontManager localizedNameForFamily:family_name face:nil]; You're sorting based on the family ...
4 years, 1 month ago (2016-11-04 05:31:53 UTC) #6
dhna
On 2016/11/04 05:31:53, Avi wrote: > https://codereview.chromium.org/2472283002/diff/40001/content/common/font_list_mac.mm > File content/common/font_list_mac.mm (right): > > https://codereview.chromium.org/2472283002/diff/40001/content/common/font_list_mac.mm#newcode23 > ...
4 years, 1 month ago (2016-11-04 09:21:05 UTC) #7
dhna
On 2016/11/04 09:21:05, dhna wrote: > On 2016/11/04 05:31:53, Avi wrote: > > > https://codereview.chromium.org/2472283002/diff/40001/content/common/font_list_mac.mm ...
4 years, 1 month ago (2016-11-04 15:41:21 UTC) #8
Avi (use Gerrit)
https://codereview.chromium.org/2472283002/diff/100001/content/common/font_list_mac.mm File content/common/font_list_mac.mm (right): https://codereview.chromium.org/2472283002/diff/100001/content/common/font_list_mac.mm#newcode33 content/common/font_list_mac.mm:33: return [localized1 compare:localized2 options:NSCaseInsensitiveSearch]; This isn't a localized sort, ...
4 years, 1 month ago (2016-11-04 16:33:40 UTC) #9
dhna
On 2016/11/04 16:33:40, Avi wrote: > https://codereview.chromium.org/2472283002/diff/100001/content/common/font_list_mac.mm > File content/common/font_list_mac.mm (right): > > https://codereview.chromium.org/2472283002/diff/100001/content/common/font_list_mac.mm#newcode33 > ...
4 years, 1 month ago (2016-11-04 16:40:42 UTC) #10
dhna
On 2016/11/04 16:40:42, dhna wrote: > On 2016/11/04 16:33:40, Avi wrote: > > > https://codereview.chromium.org/2472283002/diff/100001/content/common/font_list_mac.mm ...
4 years, 1 month ago (2016-11-04 17:05:25 UTC) #11
Avi (use Gerrit)
LGTM. There's a small nit that would make it cleaner; feel free to commit with ...
4 years, 1 month ago (2016-11-04 19:59:55 UTC) #12
dhna
On 2016/11/04 19:59:55, Avi wrote: > LGTM. > > There's a small nit that would ...
4 years, 1 month ago (2016-11-04 21:41:25 UTC) #13
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/2472283002/130001
4 years, 1 month ago (2016-11-04 22:47:06 UTC) #20
commit-bot: I haz the power
Committed patchset #8 (id:130001)
4 years, 1 month ago (2016-11-04 22:53:17 UTC) #22
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 22:57:34 UTC) #24
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/ac2a392c1984cb75dee0185b723a1f482aa7e77a
Cr-Commit-Position: refs/heads/master@{#430048}

Powered by Google App Engine
This is Rietveld 408576698