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

Issue 2524963002: [css-grid] Move LayoutGrid attributes to Grid class (Closed)

Created:
4 years ago by svillar
Modified:
4 years ago
CC:
chromium-reviews, jfernandez, szager+layoutwatch_chromium.org, zoltan1, svillar, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, Manuel Rego, leviw+renderwatch, jchaffraix+rendering, blink-reviews, eae+blinkwatch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[css-grid] Move LayoutGrid attributes to Grid class crrev.com/2522503002 added a new class called Grid. This is the first patch of a series of two that moves several attributes found in LayoutGrid that really belong to that new class. Apart from that this is adding a couple of new helper functions that will decouple the existence of in-flow items from the actual data structures storing that information. Last but not least, the Grid::insert() method does not only insert the item in the m_grid data structure, but also stores the GridArea associated to that item. BUG=627812 Committed: https://crrev.com/a93f35505a7db3243628ea9a7ea24093a8f21d6a Cr-Commit-Position: refs/heads/master@{#434243}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Patch for landing #

Patch Set 3 : Patch for landing v2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -62 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutGrid.h View 3 chunks +26 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutGrid.cpp View 1 2 25 chunks +86 lines, -52 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
svillar
4 years ago (2016-11-23 12:27:28 UTC) #2
Manuel Rego
LGTM, but please review the comments before landing. https://codereview.chromium.org/2524963002/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp File third_party/WebKit/Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/2524963002/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp#newcode72 third_party/WebKit/Source/core/layout/LayoutGrid.cpp:72: m_gridItemArea.set(&child, ...
4 years ago (2016-11-23 13:30:36 UTC) #3
svillar
Thanks for the review! https://codereview.chromium.org/2524963002/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp File third_party/WebKit/Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/2524963002/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp#newcode72 third_party/WebKit/Source/core/layout/LayoutGrid.cpp:72: m_gridItemArea.set(&child, area); On 2016/11/23 13:30:36, ...
4 years ago (2016-11-23 14:10:31 UTC) #4
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/2524963002/20001
4 years ago (2016-11-23 14:22:29 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/240174)
4 years ago (2016-11-23 14:38:38 UTC) #9
Manuel Rego
https://codereview.chromium.org/2524963002/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp File third_party/WebKit/Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/2524963002/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp#newcode2051 third_party/WebKit/Source/core/layout/LayoutGrid.cpp:2051: m_grid.setGridItemArea(*child, area); On 2016/11/23 14:10:30, svillar wrote: > On ...
4 years ago (2016-11-23 14:47:45 UTC) #10
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/2524963002/40001
4 years ago (2016-11-23 17:09:46 UTC) #13
eae
LGTM
4 years ago (2016-11-23 19:15:30 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-23 20:53:48 UTC) #16
commit-bot: I haz the power
4 years ago (2016-11-23 20:55:42 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a93f35505a7db3243628ea9a7ea24093a8f21d6a
Cr-Commit-Position: refs/heads/master@{#434243}

Powered by Google App Engine
This is Rietveld 408576698