Chromium Code Reviews
Description[css-grid] Convert GridRepresentation into an actual class
So far grids are represented as Vectors of Vectors. There are a couple of
issues associated to that decision. First or all, the source code in
LayoutGrid assumes the existence of that data structure, meaning that we
cannot eventually change it without changing a lot of code. Apart from the
coupling there is another issue, LayoutGrid is full of methods to access and
manipulate that data structure.
Instead, it'd be much better to have a Grid class encapsulating both the
data structures and the methods required to access/manipulate it. Note that
follow-up patches will move more data and procedures into this new class
from the LayoutGrid code.
BUG=627812
Committed: https://crrev.com/2c3a3d0ac5362c2d07040a821bb3a22f701d58b6
Cr-Commit-Position: refs/heads/master@{#433922}
Patch Set 1 #
Total comments: 9
Patch Set 2 : Pach for landing. Rebased #
Depends on Patchset: Messages
Total messages: 16 (7 generated)
|
||||||||||||||||||||||||||||