[iOS] Clean up tab grid transition API
In preparation for further fine-tuning, this CL cleans up some of the API and implementation details of the tab grid transition animations. - The transition layout and transition animations no longer assume (or depend on) the cells being actual UICollectionViewCells. And, since they now can be, the non-active grid cells in the animation are just UIView snapshots. - The interface into specific subviews and properties needed for animating the active cell is now defined in a protocol. - GridCell now has two subclasses for the specialized cells used in the transitions; one which just shows the selection ring, and once which can transition from 'cell' to 'tab' appearance. Bug: 850507 Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: I7fabc2ab5c522573727b40116789b3080a15a515 Reviewed-on: https://chromium-review.googlesource.com/1135135Reviewed-by:edchin <edchin@chromium.org> Commit-Queue: Mark Cogan <marq@chromium.org> Cr-Commit-Position: refs/heads/master@{#575215}
Showing
Please register or sign in to comment