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

Issue 903423002: Make FontList description-parsing public. (Closed)

Created:
5 years, 10 months ago by Daniel Erat
Modified:
5 years, 10 months ago
Reviewers:
msw, sky, Yuki
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make FontList description-parsing public. Move FontListImpl's description-string-parsing code into a static FontList::ParseDescription() method that PlatformFontPango will be able to call to parse descriptions on Chrome OS. Also make parsing stricter, add tests, and delete unused SetUpPangoLayout() and GetFontDescriptionString(). BUG=398885, 393067 Committed: https://crrev.com/23144a693589b55017e863a60ae09a2edd7c3284 Cr-Commit-Position: refs/heads/master@{#315559}

Patch Set 1 #

Patch Set 2 : delete some pango code and now-unneeded description-building code #

Patch Set 3 : add a TODO #

Patch Set 4 : remove font name from resource bundle test #

Total comments: 2

Patch Set 5 : merge and apply review feedback #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -366 lines) Patch
M ui/base/resource/resource_bundle_unittest.cc View 1 2 3 1 chunk +7 lines, -8 lines 0 comments Download
M ui/gfx/font_list.h View 1 2 chunks +23 lines, -14 lines 0 comments Download
M ui/gfx/font_list.cc View 1 2 3 4 3 chunks +48 lines, -4 lines 0 comments Download
M ui/gfx/font_list_impl.h View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M ui/gfx/font_list_impl.cc View 1 6 chunks +23 lines, -73 lines 0 comments Download
M ui/gfx/font_list_unittest.cc View 1 8 chunks +45 lines, -109 lines 0 comments Download
M ui/gfx/pango_util.h View 1 1 chunk +0 lines, -8 lines 0 comments Download
M ui/gfx/pango_util.cc View 1 2 chunks +0 lines, -145 lines 8 comments Download

Messages

Total messages: 18 (6 generated)
Daniel Erat
5 years, 10 months ago (2015-02-08 15:47:48 UTC) #2
Yuki
lgtm https://codereview.chromium.org/903423002/diff/60001/ui/gfx/font_list.cc File ui/gfx/font_list.cc (right): https://codereview.chromium.org/903423002/diff/60001/ui/gfx/font_list.cc#newcode40 ui/gfx/font_list.cc:40: for (auto it = families_out->begin(); it != families_out->end(); ...
5 years, 10 months ago (2015-02-09 04:41:29 UTC) #3
Daniel Erat
https://codereview.chromium.org/903423002/diff/60001/ui/gfx/font_list.cc File ui/gfx/font_list.cc (right): https://codereview.chromium.org/903423002/diff/60001/ui/gfx/font_list.cc#newcode40 ui/gfx/font_list.cc:40: for (auto it = families_out->begin(); it != families_out->end(); ++it) ...
5 years, 10 months ago (2015-02-09 16:23:47 UTC) #4
msw
lgtm with #include removal nits. https://codereview.chromium.org/903423002/diff/80001/ui/gfx/pango_util.cc File ui/gfx/pango_util.cc (right): https://codereview.chromium.org/903423002/diff/80001/ui/gfx/pango_util.cc#newcode10 ui/gfx/pango_util.cc:10: #include <string> nit: I ...
5 years, 10 months ago (2015-02-10 00:30:38 UTC) #6
Daniel Erat
if it's okay with you, i'm leaving those for now since i'm deleting pango_utils.* in ...
5 years, 10 months ago (2015-02-10 01:43:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/903423002/80001
5 years, 10 months ago (2015-02-10 01:44:10 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/41587)
5 years, 10 months ago (2015-02-10 01:50:06 UTC) #11
Daniel Erat
scott, mind looking at ui/base/resource?
5 years, 10 months ago (2015-02-10 02:01:03 UTC) #13
sky
ui/base/resource LGTM
5 years, 10 months ago (2015-02-10 14:26:18 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/903423002/80001
5 years, 10 months ago (2015-02-10 14:44:57 UTC) #16
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-02-10 14:48:37 UTC) #17
commit-bot: I haz the power
5 years, 10 months ago (2015-02-10 14:49:15 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/23144a693589b55017e863a60ae09a2edd7c3284
Cr-Commit-Position: refs/heads/master@{#315559}

Powered by Google App Engine
This is Rietveld 408576698