[iOS] Further refactor tab grid transition animation.
This CL further refactors the grid animation in preparation for supporting a reversable version. Each of the four primary steps in the animation (positioning and scaling the selected and unselected cells in both the regular and expanded positions) is extracted into a separate method, and common code in those methods is further extracted to reduce repitition. Bug: 804539 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: Ibabd01e9f01fb58198bcd14f39536a77dcdf2c39 Reviewed-on: https://chromium-review.googlesource.com/975462 Commit-Queue: Mark Cogan <marq@chromium.org> Reviewed-by:edchin <edchin@chromium.org> Cr-Commit-Position: refs/heads/master@{#545088}
Showing
Please register or sign in to comment