|
[LayoutNG] Introduce NGPhysicalFragment and make NGFragment a 'view'
- Adds a bunch of conversion functions between physical and logical offsets and sizes.
- The NGAlgorithm now outputs a NGPhysicalFragment (NGFragment output doesn't make sense in this instance as would immediately get unwrapped and destroyed).
BUG= 635619
Committed: https://crrev.com/e9e67c7f04956745211b80a1f2996209f9aa1b7c
Cr-Commit-Position: refs/heads/master@{#415543}
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+560 lines, -150 lines) |
Patch |
|
M |
third_party/WebKit/Source/core/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/core.gypi
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc
|
View
|
1
2
3
4
|
4 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_box.h
|
View
|
1
2
|
2 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_box.cc
|
View
|
1
2
3
|
5 chunks |
+23 lines, -9 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc
|
View
|
1
2
3
4
|
4 chunks |
+4 lines, -19 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/Source/core/layout/ng/ng_direction.h
|
View
|
1
2
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/Source/core/layout/ng/ng_direction.cc
|
View
|
1
2
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_fragment.h
|
View
|
1
2
3
|
2 chunks |
+4 lines, -16 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_fragment_base.h
|
View
|
1
2
3
|
1 chunk |
+18 lines, -22 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_fragment_base.cc
|
View
|
1
2
3
|
1 chunk |
+34 lines, -25 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h
|
View
|
1
2
|
2 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc
|
View
|
1
2
3
4
|
2 chunks |
+23 lines, -9 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.h
|
View
|
1
2
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.h
|
View
|
1
2
|
1 chunk |
+83 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.cc
|
View
|
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h
|
View
|
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_text_fragment.h
|
View
|
1
2
|
2 chunks |
+7 lines, -15 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_text_fragment.cc
|
View
|
|
1 chunk |
+1 line, -7 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/ng/ng_units.h
|
View
|
1
2
|
3 chunks |
+38 lines, -1 line |
0 comments
|
Download
|
|
A |
third_party/WebKit/Source/core/layout/ng/ng_units.cc
|
View
|
1
2
|
1 chunk |
+64 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/Source/core/layout/ng/ng_units_test.cc
|
View
|
1
2
|
1 chunk |
+74 lines, -0 lines |
0 comments
|
Download
|
Total messages: 23 (12 generated)
|