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

Issue 2456973002: [LayoutNG] Move ng_block_layout_algorithm to use constraint space builder. (Closed)

Created:
4 years, 1 month ago by ikilpatrick
Modified:
4 years, 1 month ago
Reviewers:
cbiesinger, Gleb Lanbin
CC:
chromium-reviews, cbiesinger, ojan+watch_chromium.org, szager+layoutwatch_chromium.org, glebl+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 ng_block_layout_algorithm to use constraint space builder. This patch also moves the NGConstraintSpace to the constructor of the algorithm. BUG=635619 Committed: https://crrev.com/c89a04f3ae1924c956b7bc732d429790bc57c3a8 Cr-Commit-Position: refs/heads/master@{#428536}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 15

Patch Set 3 : address comments. #

Patch Set 4 : .. #

Patch Set 5 : rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -98 lines) Patch
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h View 1 2 4 chunks +20 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc View 1 2 3 11 chunks +59 lines, -43 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_box.cc View 1 2 3 4 1 chunk +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h View 1 2 3 4 2 chunks +3 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc View 1 2 3 4 2 chunks +4 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h View 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
ikilpatrick
4 years, 1 month ago (2016-10-27 21:16:46 UTC) #3
cbiesinger
https://codereview.chromium.org/2456973002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc File third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc (left): https://codereview.chromium.org/2456973002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc#oldcode239 third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc:239: // TODO(layout-ng): move ApplyAutoMargins to PositionFragment Thanks https://codereview.chromium.org/2456973002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc File ...
4 years, 1 month ago (2016-10-27 21:47:19 UTC) #5
ikilpatrick
https://codereview.chromium.org/2456973002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc File third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc (right): https://codereview.chromium.org/2456973002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc#newcode179 third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc:179: new NGConstraintSpaceBuilder(constraint_space_->WritingMode()); On 2016/10/27 21:47:19, cbiesinger wrote: > You're ...
4 years, 1 month ago (2016-10-27 21:56:13 UTC) #6
Gleb Lanbin
https://codereview.chromium.org/2456973002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc File third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc (left): https://codereview.chromium.org/2456973002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc#oldcode239 third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc:239: // TODO(layout-ng): move ApplyAutoMargins to PositionFragment On 2016/10/27 21:47:19, ...
4 years, 1 month ago (2016-10-27 22:30:07 UTC) #9
ikilpatrick
https://codereview.chromium.org/2456973002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc File third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc (left): https://codereview.chromium.org/2456973002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc#oldcode239 third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc:239: // TODO(layout-ng): move ApplyAutoMargins to PositionFragment On 2016/10/27 22:30:06, ...
4 years, 1 month ago (2016-10-28 00:16:28 UTC) #10
cbiesinger
lgtm https://codereview.chromium.org/2456973002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc File third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc (right): https://codereview.chromium.org/2456973002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc#newcode179 third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc:179: new NGConstraintSpaceBuilder(constraint_space_->WritingMode()); On 2016/10/27 21:56:13, ikilpatrick wrote: > ...
4 years, 1 month ago (2016-10-28 18:58:56 UTC) #11
ikilpatrick
https://codereview.chromium.org/2456973002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc File third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc (right): https://codereview.chromium.org/2456973002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc#newcode341 third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc:341: FindLayoutOpportunityForFragment(constraint_space_, fragment, margins); On 2016/10/28 18:58:56, cbiesinger wrote: > ...
4 years, 1 month ago (2016-10-28 19:43:50 UTC) #12
Gleb Lanbin
lgtm
4 years, 1 month ago (2016-10-28 22:05:54 UTC) #17
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/2456973002/80001
4 years, 1 month ago (2016-10-28 22:11:16 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-10-28 23:12:28 UTC) #20
commit-bot: I haz the power
4 years, 1 month ago (2016-10-28 23:14:50 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c89a04f3ae1924c956b7bc732d429790bc57c3a8
Cr-Commit-Position: refs/heads/master@{#428536}

Powered by Google App Engine
This is Rietveld 408576698