[GridNG] Setting up measuring stage of NGGridLayoutAlgorithm
This change adds some important helper classes and plumbing for the measuring stage of grid layout. It doesn't actually do any measuring yet, which will come in my next change. This CL was getting large enough on its own to put into review and the actual measuring will add enough interesting test cases to warrant its own CL. NGGridChildIterator is more or less a copy of NGFlexChildIterator with some flex-specific items removed. NGGridLayoutAlgorithmTest allows us to test the internal state of the algorithm data without actually laying out or rendering the final grid. This will be especially helpful for development early on, as we have a few more stages to implement before we can reasonably test the final grid layout via layout dump tests. Bug: 1045599 Change-Id: Id60ad777beddb387b1669b4d4be8760777e29ec8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2229614 Commit-Queue: Kurt Catti-Schmidt <kschmi@microsoft.com> Reviewed-by:Christian Biesinger <cbiesinger@chromium.org> Reviewed-by:
Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#776643}
Showing
Please register or sign in to comment