WebUI Tab Strip: Add ability to close tabs using swipe gesture
Swiping a tab (in either direction, up or down) initially begins by animating opacity from 0 to 1, and then animates the max-width to 0 to hide the space the TabElement takes in the tab strip. The tab will only close if the user lets go of the pointer past this max-width threshold or if the user swipes quick enough. Bug: 1014679 Change-Id: I060876c1c2916cb69e964f39c18f72a4d379931f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1888380 Commit-Queue: John Lee <johntlee@chromium.org> Reviewed-by:Demetrios Papadopoulos <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#712360}
Showing
Please register or sign in to comment