WebUI Tab Strip: Move direction calculation to animate function
The checks that are necessary to determine if a TabElement moved towards the start or the end of the tab strip are the same for TabGroupElements, so this CL prepares the animation for TabGroupElement by moving these checks to the animation functions. Bug: 1082344 Change-Id: I9bd9322948c40c61e9324d74c6c0dfba41ea9551 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2250950 Commit-Queue: John Lee <johntlee@chromium.org> Reviewed-by:dpapad <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#779955}
Showing
Please register or sign in to comment