[layoutng] Bidirectional interoperability between layoutng and legacy layout
Adds a function canUseNewLayout that determines whether to use the new code, or fall back to the old layout() implementation. This mostly works for now. The main thing that still needs to be done is to correctly pass down the constraints from the constraint space. I am planning to use setOverrideContainingBlockLogical{Width,Height} for that, but I first have to fix it to not be grid-specific. Complex constraint spaces will need more thought. BUG=636993 Review-Url: https://codereview.chromium.org/2244463003 Cr-Commit-Position: refs/heads/master@{#412815}
Showing
Please register or sign in to comment