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

Issue 915383003: Fix alignment format in multiline mode (Closed)

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

Description

Fix alignment format in multiline mode BUG=461182 TEST=covered by RenderTextTest.Multiline_HorizontalAlignemnt Committed: https://crrev.com/403e56062fff5bdbca47745201e075b2916152ba Cr-Commit-Position: refs/heads/master@{#317750}

Patch Set 1 : #

Total comments: 7

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 10

Patch Set 5 : #

Patch Set 6 : disable test on mac #

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

Messages

Total messages: 27 (13 generated)
oshima
fyi
5 years, 10 months ago (2015-02-12 18:43:19 UTC) #7
Jun Mukai
+msw for the review. It looks good to me though.
5 years, 10 months ago (2015-02-19 00:57:23 UTC) #9
msw
https://codereview.chromium.org/915383003/diff/90001/ui/gfx/render_text.cc File ui/gfx/render_text.cc (right): https://codereview.chromium.org/915383003/diff/90001/ui/gfx/render_text.cc#newcode1090 ui/gfx/render_text.cc:1090: #if defined(OS_WIN) || defined(OS_CHROMEOS) This should actually check if ...
5 years, 10 months ago (2015-02-19 01:13:51 UTC) #10
oshima
mukai@, sorry if it wasn't clear. This wasn't for code review. I just wanted to ...
5 years, 10 months ago (2015-02-19 04:40:14 UTC) #11
oshima
looks like this wasn't in your RTL fix? can you take over this CL and ...
5 years, 10 months ago (2015-02-19 05:54:17 UTC) #12
oshima
Ok, I'm back and uploaded the new patch with updated test and cleanups. msw@, PTAL. ...
5 years, 10 months ago (2015-02-23 18:50:54 UTC) #15
msw
lgtm with nits. https://codereview.chromium.org/915383003/diff/170001/ui/gfx/render_text.cc File ui/gfx/render_text.cc (right): https://codereview.chromium.org/915383003/diff/170001/ui/gfx/render_text.cc#newcode1095 ui/gfx/render_text.cc:1095: // TODO(ckocagil): Enable |lines_| usage on ...
5 years, 10 months ago (2015-02-23 19:30:07 UTC) #16
oshima
https://codereview.chromium.org/915383003/diff/170001/ui/gfx/render_text.cc File ui/gfx/render_text.cc (right): https://codereview.chromium.org/915383003/diff/170001/ui/gfx/render_text.cc#newcode1095 ui/gfx/render_text.cc:1095: // TODO(ckocagil): Enable |lines_| usage on mac. On 2015/02/23 ...
5 years, 10 months ago (2015-02-23 23:06:52 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/915383003/210001
5 years, 10 months ago (2015-02-24 01:51:51 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/915383003/210001
5 years, 10 months ago (2015-02-24 03:03:40 UTC) #23
msw
still lgtm, but I'd appreciate an extra comment for the test. https://codereview.chromium.org/915383003/diff/210001/ui/gfx/render_text_unittest.cc File ui/gfx/render_text_unittest.cc (right): ...
5 years, 10 months ago (2015-02-24 03:27:59 UTC) #24
commit-bot: I haz the power
Committed patchset #6 (id:210001)
5 years, 10 months ago (2015-02-24 03:31:18 UTC) #25
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/403e56062fff5bdbca47745201e075b2916152ba Cr-Commit-Position: refs/heads/master@{#317750}
5 years, 10 months ago (2015-02-24 03:32:03 UTC) #26
oshima
5 years, 10 months ago (2015-02-24 03:49:33 UTC) #27
Message was sent while issue was closed.
https://codereview.chromium.org/915383003/diff/210001/ui/gfx/render_text_unit...
File ui/gfx/render_text_unittest.cc (right):

https://codereview.chromium.org/915383003/diff/210001/ui/gfx/render_text_unit...
ui/gfx/render_text_unittest.cc:2147: #if !defined(OS_MACOSX)
On 2015/02/24 03:27:59, msw wrote:
> nit: Oh darn, this should work on Mac (using RTHB), except for the
overly-broad
> macros in GetAlignmentOffset... Add a TODO (or note this test in that
function).

This won't work on mac as is. This should work with patch set #3, and will
re-enable there.

Powered by Google App Engine
This is Rietveld 408576698