Reland:[ToolbarMVC] Hide MenuButton interactions in toolbar.top behind MenuButtonCoordinator
Most method calls are translated 1:1 by forwarding the call to the equivalent MenuButton or View method. A notable exception is handling of the tab switcher animation, which currently requires a view in order to perform canvas translation before drawing the button in its animated state. In this case, we provide a direct accessor for the view. Reland note: the NPE was due to the MenuButtonCoordinator not being set until right after inflation finishes, which is when ToolbarTablet was trying to use it. Bug: 1086676 Change-Id: I60819a54bc4ad6d84fcb5b932d04798ba6561bce Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2391643Reviewed-by:Matthew Jones <mdjones@chromium.org> Commit-Queue: Patrick Noland <pnoland@chromium.org> Cr-Commit-Position: refs/heads/master@{#804408}
Showing
Please register or sign in to comment