Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GridNG] Decouple ComputeUsedTrackSizes to be used within subgrids
1. Separating the cache logic in `ComputeUsedTrackSizes` to be handled by a new method `CompleteTrackSizingAlgorithm`. The purpose of this change is to reuse the core track sizing algorithm to both, finalize the grid tree geometry and compute the contribution size of subgrids. 2. Updating `GridItemData` to cache the `has_subgridded_[columns|rows]` properties relative to its parent grid's direction. 3. Adding some minor quality of life changes in preparation for an upcoming change that will expand `CompleteTrackSizingAlgorithm` to make it work for multiple levels of subgrids. Bug: 618969 Change-Id: I505b333b1ea59ae286964920483c26c959e8594b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4370637 Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Ethan Jimenez <ethavar@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1122209}
- Loading branch information