Description[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
Committed: https://crrev.com/835274ca627ccc8a2877dca52845180f950cdca9
Cr-Commit-Position: refs/heads/master@{#412815}
Patch Set 1 #Patch Set 2 : Hack this to work #Patch Set 3 : Positioning #
Messages
Total messages: 15 (10 generated)
|