|
[LayoutNG] Add NGInlineBreakToken and back of NGInlineLayoutAlgorithm
This patch implements NGInlineBreakToken, a subclass of NGBreakToken for
inline. Unfinished break tokens are attached to lineboxes that do not
fit in the constraint space, and layout can restart from an unfinished
NGInlineBreakToken.
NGLineBuilder now has equivalent interface as NGLayoutAlgorithm, and
that it is renamed to NGInlineLayoutAlgorithm.
NGTextLayoutAlgorithm is now a line breaker and is not
interface-compatible with NGLayoutAlgorithm that it is renamed to
NGLineBreaker.
BUG= 636993
Review-Url: https://codereview.chromium.org/2772503004
Cr-Commit-Position: refs/heads/master@{#459788}
Committed: https://chromium.googlesource.com/chromium/src/+/e1bb8449b2eeab40d89574339ac634c6e1f797cd
Total comments: 12
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+407 lines, -1318 lines) |
Patch |
|
M |
third_party/WebKit/Source/core/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/BUILD.gn
|
View
|
1
2
3
4
5
6
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_block_break_token.h
|
View
|
1
2
3
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_block_break_token.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_break_token.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+27 lines, -5 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/Source/core/layout/ng/ng_inline_break_token.h
|
View
|
|
1 chunk |
+53 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/Source/core/layout/ng/ng_inline_break_token.cc
|
View
|
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
|
A + |
third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.h
|
View
|
1
2
3
4
5
6
7
|
9 chunks |
+38 lines, -27 lines |
0 comments
|
Download
|
|
A + |
third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.cc
|
View
|
1
2
3
4
5
6
7
8
|
18 chunks |
+98 lines, -48 lines |
0 comments
|
Download
|
|
A + |
third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm_test.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+67 lines, -5 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_inline_node.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_inline_node.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+14 lines, -28 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+7 lines, -11 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_line_box_fragment_builder.h
|
View
|
1
2
3
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_line_box_fragment_builder.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/Source/core/layout/ng/ng_line_breaker.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
|
A + |
third_party/WebKit/Source/core/layout/ng/ng_line_breaker.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+23 lines, -39 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_line_builder.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -164 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/Source/core/layout/ng/ng_line_builder.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -604 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.h
|
View
|
1
|
1 chunk |
+0 lines, -45 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -114 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm_test.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -212 lines |
0 comments
|
Download
|
Total messages: 28 (19 generated)
|