Translate ToolbarPhone buttons correctly in tab switcher.
The buttons in ToolbarPhone have their y translation modified to make it appear like they are scrolling with the new tab page. This change fixes the calculation to cancel this translation while in tab switcher mode. In addition, this fixes a regression where the buttons would pop in after defocusing the omnibox instead of sliding in from the side. BUG=628597 Review-Url: https://codereview.chromium.org/2275073002 Cr-Commit-Position: refs/heads/master@{#414498}
Showing
Please register or sign in to comment