Use margins in ExtensionToolbarMenuView rather than laying out self

Currently, ExtensionToolbarMenuView sets its own position in
Layout(). This change sets the margins property instead, and modifies
MenuItemView::Layout to use this property.

Bug: 913998
Change-Id: Iab6305a0ad3dfc4fd936d17095ef6a65743e439c
Reviewed-by: Scott Violet <>
Reviewed-by: Devlin <>
Reviewed-by: Peter Boström <>
Reviewed-by: Dana Fried <>
Commit-Queue: Collin Baker <>
Cr-Commit-Position: refs/heads/master@{#622190}
6 files changed