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

Issue 1020853018: DNCI [RenderText] Added font size options in RenderText. (Closed)

Created:
5 years, 9 months ago by dschuyler
Modified:
4 years, 4 months ago
Reviewers:
CC:
chromium-reviews, derat+watch_chromium.org, groby-ooo-7-16
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[RenderText] Added font size options in RenderText. DO NOT CHECK IN. Instead of going this route, we set a different font list for different font sizes. Note: this CL includes changes from CL 1013543006. It may be convenient to review 1013543006 before reviewing this CL. This change adds SetFontSize and ApplyFontSize, these work in a very similar fashion to the existing Set/Apply Color, and BaselineStyle functions. A unit test for applying font sizes is included in this change. BUG=469362

Patch Set 1 #

Patch Set 2 : Added font sizes to mac font style iterator #

Total comments: 2

Patch Set 3 : fix for RenderText bounding rectangles #

Patch Set 4 : changed CL parent #

Patch Set 5 : Removed some debug code #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -7 lines) Patch
M ui/gfx/render_text.h View 1 2 3 6 chunks +14 lines, -1 line 6 comments Download
M ui/gfx/render_text.cc View 1 2 3 9 chunks +26 lines, -2 lines 0 comments Download
M ui/gfx/render_text_harfbuzz.cc View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M ui/gfx/render_text_mac.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/render_text_unittest.cc View 1 2 3 4 2 chunks +56 lines, -1 line 1 comment Download

Messages

Total messages: 18 (3 generated)
dschuyler
5 years, 9 months ago (2015-03-25 21:51:55 UTC) #2
msw
https://codereview.chromium.org/1020853018/diff/20001/ui/gfx/render_text.h File ui/gfx/render_text.h (right): https://codereview.chromium.org/1020853018/diff/20001/ui/gfx/render_text.h#newcode221 ui/gfx/render_text.h:221: VerticalAlignment vertical_alignment() const { return vertical_alignment_; } You should ...
5 years, 9 months ago (2015-03-26 23:07:28 UTC) #3
dschuyler
https://codereview.chromium.org/1020853018/diff/20001/ui/gfx/render_text.h File ui/gfx/render_text.h (right): https://codereview.chromium.org/1020853018/diff/20001/ui/gfx/render_text.h#newcode221 ui/gfx/render_text.h:221: VerticalAlignment vertical_alignment() const { return vertical_alignment_; } On 2015/03/26 ...
5 years, 9 months ago (2015-03-27 21:32:14 UTC) #4
msw
https://codereview.chromium.org/1020853018/diff/80001/ui/gfx/render_text.h File ui/gfx/render_text.h (right): https://codereview.chromium.org/1020853018/diff/80001/ui/gfx/render_text.h#newcode112 ui/gfx/render_text.h:112: // Internal helper class used to iterate colors, baselines, ...
5 years, 8 months ago (2015-03-30 21:14:35 UTC) #5
dschuyler
> https://codereview.chromium.org/1020853018/diff/80001/ui/gfx/render_text.h#newcode350 > ui/gfx/render_text.h:350: // A |value| of zero will expand to the default font ...
5 years, 8 months ago (2015-03-31 19:05:41 UTC) #6
msw
On 2015/03/31 19:05:41, dschuyler wrote: > > > https://codereview.chromium.org/1020853018/diff/80001/ui/gfx/render_text.h#newcode350 > > ui/gfx/render_text.h:350: // A |value| ...
5 years, 8 months ago (2015-04-01 17:52:03 UTC) #8
dschuyler
On 2015/04/01 at 17:52:03, msw wrote: > On 2015/03/31 19:05:41, dschuyler wrote: > > > ...
5 years, 8 months ago (2015-04-01 18:44:51 UTC) #9
Peter Kasting
On 2015/04/01 18:44:51, dschuyler wrote: > The intended use is future support of the Answers ...
5 years, 8 months ago (2015-04-01 19:29:31 UTC) #10
dschuyler
On 2015/04/01 at 19:29:31, pkasting wrote: > On 2015/04/01 18:44:51, dschuyler wrote: > > The ...
5 years, 8 months ago (2015-04-01 19:45:39 UTC) #11
msw
On 2015/04/01 19:45:39, dschuyler wrote: > On 2015/04/01 at 19:29:31, pkasting wrote: > > On ...
5 years, 8 months ago (2015-04-01 20:14:25 UTC) #12
Yuki
On 2015/04/01 20:14:25, msw wrote: > On 2015/04/01 19:45:39, dschuyler wrote: > > On 2015/04/01 ...
5 years, 8 months ago (2015-04-02 06:39:29 UTC) #13
dschuyler
On 2015/04/02 at 06:39:29, yukishiino wrote: > On 2015/04/01 20:14:25, msw wrote: > > On ...
5 years, 8 months ago (2015-04-02 18:53:47 UTC) #14
msw
On 2015/04/02 18:53:47, dschuyler wrote: > On 2015/04/02 at 06:39:29, yukishiino wrote: > > On ...
5 years, 8 months ago (2015-04-02 19:15:29 UTC) #15
Peter Kasting
Dave, this CL has been open for a year with no comments. I didn't bother ...
4 years, 7 months ago (2016-04-29 01:56:38 UTC) #16
dschuyler
4 years, 4 months ago (2016-08-06 00:19:48 UTC) #18
Message was sent while issue was closed.
On 2016/04/29 01:56:38, Peter Kasting wrote:
> Dave, this CL has been open for a year with no comments.  I didn't bother to
> read the review discussion above, so I don't know whether there's still value
> here, but please either move this forward or close as applicable.

Making a note that this CL is marked 'do not check in' and closed; so that
Peter's
message is not as prominent (and looking unanswered).

Powered by Google App Engine
This is Rietveld 408576698