DescriptionUse MarginLayoutParams in ToolbarManager
The control container can have different parent views depending on
which flags are enabled, namely Chrome Home. This change removes the
assumption that particular layout params are for a FrameLayout and
instead uses the least common denominator -- MarginLayoutParams. This
should be fine in this case since the margin is all that is being
modified.
BUG=664985
Committed: https://crrev.com/91df9834a095460208c7bbf0fcd3747c18eab64d
Cr-Commit-Position: refs/heads/master@{#438900}
Patch Set 1 #
Messages
Total messages: 10 (5 generated)
|