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

Issue 68483006: Remove ComplexTextController dependency on core (Closed)

Created:
7 years, 1 month ago by rwlbuis
Modified:
7 years, 1 month ago
CC:
blink-reviews, eae+blinkwatch, apavlov+blink_chromium.org, aandrey+blink_chromium.org, jamesr, caseq+blink_chromium.org, krit, bemjb+rendering_chromium.org, dsinclair, yurys+blink_chromium.org, danakj, Rik, jchaffraix+rendering, devtools-reviews_chromium.org, pdr., loislo+blink_chromium.org, zoltan1, lushnikov+blink_chromium.org, eustas+blink_chromium.org, paulirish+reviews_chromium.org, alph+blink_chromium.org, leviw+renderwatch, vsevik+blink_chromium.org, pfeldman+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Remove ComplexTextController dependency on core This is part of the core/platform/graphics move. BUG=297477 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161857

Patch Set 1 #

Patch Set 2 : Less intrusive patch #

Patch Set 3 : Remove unneeded includes too #

Total comments: 1

Patch Set 4 : Centralize createLayout logic #

Total comments: 1

Patch Set 5 : Name createLayoutForMacComplexText for clarity #

Patch Set 6 : Try to fix Mac compile errors #

Patch Set 7 : Rebase after r161839 #

Patch Set 8 : Try one more time #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -17 lines) Patch
M Source/core/inspector/InspectorCSSAgent.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/platform/graphics/Font.h View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download
M Source/core/platform/graphics/Font.cpp View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/platform/graphics/mac/ComplexTextController.cpp View 1 2 3 4 4 chunks +9 lines, -12 lines 0 comments Download
M Source/core/rendering/line/BreakingContextInlineHeaders.h View 1 2 3 4 5 6 7 2 chunks +11 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
rwlbuis
Works on linux, but not yet tried on Mac.
7 years, 1 month ago (2013-11-11 22:57:12 UTC) #1
rwlbuis
Compiles on linux, not tried it yet on Mac.
7 years, 1 month ago (2013-11-11 22:59:44 UTC) #2
eseidel
Seems reasonable. I would like eae and leviw to chime in.
7 years, 1 month ago (2013-11-11 23:41:13 UTC) #3
eae
On 2013/11/11 23:41:13, eseidel wrote: > Seems reasonable. I would like eae and leviw to ...
7 years, 1 month ago (2013-11-11 23:49:25 UTC) #4
Stephen Chennney
On 2013/11/11 23:49:25, eae wrote: > On 2013/11/11 23:41:13, eseidel wrote: > > Seems reasonable. ...
7 years, 1 month ago (2013-11-12 00:26:22 UTC) #5
rwlbuis
On 2013/11/11 23:49:25, eae wrote: > On 2013/11/11 23:41:13, eseidel wrote: > > Seems reasonable. ...
7 years, 1 month ago (2013-11-12 15:48:27 UTC) #6
eae
On 2013/11/12 15:48:27, rwlbuis wrote: > On 2013/11/11 23:49:25, eae wrote: > > On 2013/11/11 ...
7 years, 1 month ago (2013-11-12 15:50:17 UTC) #7
rwlbuis
On 2013/11/12 00:26:22, Stephen Chenney wrote: > On 2013/11/11 23:49:25, eae wrote: > > On ...
7 years, 1 month ago (2013-11-12 15:50:34 UTC) #8
rwlbuis
Make this less intrusive, simply rely on the TextRun and textLength values for constructing TextLayout ...
7 years, 1 month ago (2013-11-12 15:52:43 UTC) #9
rwlbuis
I uploaded the wrong version, this one removes the rendering/ includes.
7 years, 1 month ago (2013-11-12 15:56:33 UTC) #10
eae
https://codereview.chromium.org/68483006/diff/110002/Source/core/rendering/RenderBlockLineLayout.cpp File Source/core/rendering/RenderBlockLineLayout.cpp (right): https://codereview.chromium.org/68483006/diff/110002/Source/core/rendering/RenderBlockLineLayout.cpp#newcode2975 Source/core/rendering/RenderBlockLineLayout.cpp:2975: m_renderTextInfo.m_layout = font.createLayout(RenderBlockFlow::constructTextRun(renderText, font, renderText, renderText->style()), renderText->textLength(), m_width.currentWidth(), m_collapseWhiteSpace); ...
7 years, 1 month ago (2013-11-12 16:03:21 UTC) #11
rwlbuis
On 2013/11/12 16:03:21, eae wrote: > https://codereview.chromium.org/68483006/diff/110002/Source/core/rendering/RenderBlockLineLayout.cpp > File Source/core/rendering/RenderBlockLineLayout.cpp (right): > > https://codereview.chromium.org/68483006/diff/110002/Source/core/rendering/RenderBlockLineLayout.cpp#newcode2975 > ...
7 years, 1 month ago (2013-11-12 16:53:38 UTC) #12
rwlbuis
Centralize createLayout logic, with this approach we do minimal work for non Mac port.
7 years, 1 month ago (2013-11-12 16:56:38 UTC) #13
eae
https://codereview.chromium.org/68483006/diff/180001/Source/core/rendering/RenderBlockLineLayout.cpp File Source/core/rendering/RenderBlockLineLayout.cpp (right): https://codereview.chromium.org/68483006/diff/180001/Source/core/rendering/RenderBlockLineLayout.cpp#newcode74 Source/core/rendering/RenderBlockLineLayout.cpp:74: m_layout = nullptr; This doesn't seem right, why would ...
7 years, 1 month ago (2013-11-12 17:00:29 UTC) #14
rwlbuis
On 2013/11/12 17:00:29, eae wrote: > https://codereview.chromium.org/68483006/diff/180001/Source/core/rendering/RenderBlockLineLayout.cpp > File Source/core/rendering/RenderBlockLineLayout.cpp (right): > > https://codereview.chromium.org/68483006/diff/180001/Source/core/rendering/RenderBlockLineLayout.cpp#newcode74 > ...
7 years, 1 month ago (2013-11-12 17:04:38 UTC) #15
eae
On 2013/11/12 17:04:38, rwlbuis wrote: > On 2013/11/12 17:00:29, eae wrote: > > > https://codereview.chromium.org/68483006/diff/180001/Source/core/rendering/RenderBlockLineLayout.cpp ...
7 years, 1 month ago (2013-11-12 17:06:37 UTC) #16
rwlbuis
On 2013/11/12 17:06:37, eae wrote: > On 2013/11/12 17:04:38, rwlbuis wrote: > > On 2013/11/12 ...
7 years, 1 month ago (2013-11-12 18:03:13 UTC) #17
eae
Great, LGTM Thanks for your patience.
7 years, 1 month ago (2013-11-12 18:07:24 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/68483006/220001
7 years, 1 month ago (2013-11-12 18:31:07 UTC) #19
commit-bot: I haz the power
Retried try job too often on mac_layout for step(s) webkit_lint http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_layout&number=13622
7 years, 1 month ago (2013-11-12 18:58:58 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/68483006/350001
7 years, 1 month ago (2013-11-12 19:17:20 UTC) #21
commit-bot: I haz the power
Failed to apply patch for Source/core/rendering/RenderBlockLineLayout.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 1 month ago (2013-11-12 19:17:23 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/68483006/220002
7 years, 1 month ago (2013-11-12 19:55:20 UTC) #23
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 1 month ago (2013-11-12 20:32:54 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/68483006/480001
7 years, 1 month ago (2013-11-12 20:36:54 UTC) #25
commit-bot: I haz the power
7 years, 1 month ago (2013-11-12 23:10:05 UTC) #26
Message was sent while issue was closed.
Change committed as 161857

Powered by Google App Engine
This is Rietveld 408576698