Polish tab-to-grid transition animation in StartSurface (1)
Originally, the TabListSceneLayer that shows during tab-to-grid transition puts the tab switcher bitmap right below the top toolbar. This looks correct for normal layout but is no longer true for StartSurface, because for StartSurface there are components that locate above tab switcher. This CL adds a top offset so that we can adjust the position of the tab switcher bitmap based on the real position of tab switcher within the layout. Bug: 995423 Change-Id: I23bf25d3c01a20410a921dcef9a9de947d554c29 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1921704 Commit-Queue: Yue Zhang <yuezhanggg@chromium.org> Reviewed-by:Matthew Jones <mdjones@chromium.org> Reviewed-by:
Wei-Yin Chen (陳威尹) <wychen@chromium.org> Cr-Commit-Position: refs/heads/master@{#718379}
Showing
Please register or sign in to comment