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

Issue 2721613003: [LayoutNG] Move remaining ng_units structs to their own files (Closed)

Created:
3 years, 9 months ago by eae
Modified:
3 years, 9 months ago
CC:
chromium-reviews, cbiesinger, ojan+watch_chromium.org, szager+layoutwatch_chromium.org, glebl+reviews_chromium.org, dgrogan+ng_chromium.org, atotic+reviews_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[LayoutNG] Move remaining ng_units structs to their own files R=mstensho@opera.com Review-Url: https://codereview.chromium.org/2721613003 Cr-Commit-Position: refs/heads/master@{#453878} Committed: https://chromium.googlesource.com/chromium/src/+/480fa30589acd71427e3f902fd7916e87c41f5d9

Patch Set 1 #

Patch Set 2 : git cl format #

Patch Set 3 : Rebase w/HEAD #

Total comments: 11

Patch Set 4 : Address reviewer comments #

Patch Set 5 : Try to make win clang happy #

Patch Set 6 : Don't export NGBoxStrut for now #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+750 lines, -641 lines) Patch
M third_party/WebKit/Source/core/BUILD.gn View 1 2 3 2 chunks +2 lines, -1 line 1 comment Download
M third_party/WebKit/Source/core/layout/BUILD.gn View 5 chunks +13 lines, -2 lines 0 comments Download
A third_party/WebKit/Source/core/layout/ng/geometry/ng_box_strut.h View 1 2 3 4 5 1 chunk +73 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/layout/ng/geometry/ng_box_strut.cc View 1 1 chunk +56 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/core/layout/ng/geometry/ng_box_strut_test.cc View 3 chunks +2 lines, -18 lines 0 comments Download
A third_party/WebKit/Source/core/layout/ng/geometry/ng_edge.h View 1 chunk +21 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_rect.h View 1 1 chunk +55 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_rect.cc View 1 chunk +38 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_size.h View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/core/layout/ng/geometry/ng_margin_strut.h View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/layout/ng/geometry/ng_margin_strut.cc View 1 chunk +35 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/layout/ng/geometry/ng_static_position.h View 1 1 chunk +73 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/layout/ng/geometry/ng_static_position.cc View 1 chunk +35 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.h View 1 2 3 3 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc View 1 2 3 6 chunks +17 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_absolute_utils_test.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h View 1 2 3 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 6 chunks +16 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc View 1 2 3 4 chunks +4 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_node.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_node.cc View 1 2 3 3 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_node_test.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_box_fragment.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder_test.cc View 1 chunk +0 lines, -1 line 0 comments Download
A third_party/WebKit/Source/core/layout/ng/ng_exclusion.h View 1 2 3 1 chunk +57 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/layout/ng/ng_exclusion.cc View 1 2 3 1 chunk +50 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_floating_object.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_inline_node.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_inline_node.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_tree_node.h View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_layout_result.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_length_utils.h View 1 2 3 6 chunks +13 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc View 1 2 3 8 chunks +10 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_length_utils_test.cc View 1 2 3 7 chunks +16 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_line_builder.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_line_builder.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
A third_party/WebKit/Source/core/layout/ng/ng_min_max_content_size.h View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/layout/ng/ng_min_max_content_size.cc View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/layout/ng/ng_min_max_content_size_test.cc View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
D third_party/WebKit/Source/core/layout/ng/ng_units.h View 1 chunk +0 lines, -268 lines 0 comments Download
D third_party/WebKit/Source/core/layout/ng/ng_units.cc View 1 chunk +0 lines, -161 lines 0 comments Download
D third_party/WebKit/Source/core/layout/ng/ng_units_test.cc View 1 chunk +0 lines, -64 lines 0 comments Download

Messages

Total messages: 38 (23 generated)
eae
3 years, 9 months ago (2017-02-28 06:00:39 UTC) #1
eae
Move all the structs!
3 years, 9 months ago (2017-02-28 06:03:42 UTC) #6
mstensho (USE GERRIT)
https://codereview.chromium.org/2721613003/diff/40001/third_party/WebKit/Source/core/layout/ng/geometry/ng_box_strut.h File third_party/WebKit/Source/core/layout/ng/geometry/ng_box_strut.h (right): https://codereview.chromium.org/2721613003/diff/40001/third_party/WebKit/Source/core/layout/ng/geometry/ng_box_strut.h#newcode9 third_party/WebKit/Source/core/layout/ng/geometry/ng_box_strut.h:9: #include "core/layout/ng/ng_writing_mode.h" Random thought (not something you necessarily need ...
3 years, 9 months ago (2017-02-28 12:19:47 UTC) #11
eae
Thanks Morten! https://codereview.chromium.org/2721613003/diff/40001/third_party/WebKit/Source/core/layout/ng/geometry/ng_box_strut.h File third_party/WebKit/Source/core/layout/ng/geometry/ng_box_strut.h (right): https://codereview.chromium.org/2721613003/diff/40001/third_party/WebKit/Source/core/layout/ng/geometry/ng_box_strut.h#newcode9 third_party/WebKit/Source/core/layout/ng/geometry/ng_box_strut.h:9: #include "core/layout/ng/ng_writing_mode.h" On 2017/02/28 12:19:47, mstensho wrote: ...
3 years, 9 months ago (2017-02-28 12:26:34 UTC) #12
mstensho (USE GERRIT)
lgtm if you make those changes. :) https://codereview.chromium.org/2721613003/diff/40001/third_party/WebKit/Source/core/layout/ng/geometry/ng_box_strut.h File third_party/WebKit/Source/core/layout/ng/geometry/ng_box_strut.h (right): https://codereview.chromium.org/2721613003/diff/40001/third_party/WebKit/Source/core/layout/ng/geometry/ng_box_strut.h#newcode9 third_party/WebKit/Source/core/layout/ng/geometry/ng_box_strut.h:9: #include "core/layout/ng/ng_writing_mode.h" ...
3 years, 9 months ago (2017-02-28 12:31:29 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2721613003/60001
3 years, 9 months ago (2017-03-01 00:20:57 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_clang on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/178834)
3 years, 9 months ago (2017-03-01 01:06:01 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2721613003/80001
3 years, 9 months ago (2017-03-01 04:00:30 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2721613003/100001
3 years, 9 months ago (2017-03-01 05:28:01 UTC) #27
eae
Hmm, the windows clang bot does not like my ng_box_strut file even though it has ...
3 years, 9 months ago (2017-03-01 06:17:52 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2721613003/120001
3 years, 9 months ago (2017-03-01 06:24:50 UTC) #32
commit-bot: I haz the power
Committed patchset #6 (id:120001) as https://chromium.googlesource.com/chromium/src/+/480fa30589acd71427e3f902fd7916e87c41f5d9
3 years, 9 months ago (2017-03-01 07:56:17 UTC) #35
Adam Rice
A revert of this CL (patchset #6 id:120001) has been created in https://codereview.chromium.org/2723023003/ by ricea@chromium.org. ...
3 years, 9 months ago (2017-03-01 08:15:26 UTC) #36
eae
Thanks Adam!
3 years, 9 months ago (2017-03-01 09:55:25 UTC) #37
eae
3 years, 9 months ago (2017-03-01 09:56:17 UTC) #38
Message was sent while issue was closed.
https://codereview.chromium.org/2721613003/diff/120001/third_party/WebKit/Sou...
File third_party/WebKit/Source/core/BUILD.gn (right):

https://codereview.chromium.org/2721613003/diff/120001/third_party/WebKit/Sou...
third_party/WebKit/Source/core/BUILD.gn:1303:
"layout/ng/geometry/ng_box_strut.cc",
Ah, this should be ng_box_strut_test.cc. My bad.

Powered by Google App Engine
This is Rietveld 408576698