Capture a new toolbar texture after exiting tab switcher
Request an update to the toolbar texture after exiting the tab switcher to ensure a new texture is captured before the user re-enters the tab switcher. This used to be handled in ToolbarPhone#updateVisualsForLocationBarState due to the visual state for the toolbar changing from TAB_SWITCHER_* to one of the other states. Also update the location bar bounds logic and shadow drawing logic to ensure that the location bar is properly clipped and the shadow has the proper visibility when capturing textures. BUG=916561 Change-Id: I8ab5116d087866c7aa6e56865dc160c7a5f729c3 Reviewed-on: https://chromium-review.googlesource.com/c/1384374Reviewed-by:Ted Choc <tedchoc@chromium.org> Commit-Queue: Theresa <twellington@chromium.org> Cr-Commit-Position: refs/heads/master@{#619440}
Showing
Please register or sign in to comment