• Mark Cogan's avatar
    [iOS] Animate tab grid cell deletion. · f49290e8
    Mark Cogan authored
    This CL customizes the deletion animation for tab grid cells via the
    standard UICollectionViewLayout APIs.
    
    Animation is done by adjusting the final layout attributes of the cell
    in -finalLayoutAttributesForDisappearingItemAtIndexPath:. Because cells
    may disappear for non-deleting reasons, the layout also needs to track
    which cells are being deleted during each update cycle.
    
    Bug: 804553
    Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
    Change-Id: I8566a5aff832ac8844d2d89639599b1b2372a27d
    Reviewed-on: https://chromium-review.googlesource.com/964223Reviewed-by: default avataredchin <edchin@chromium.org>
    Reviewed-by: default avatarMark Cogan <marq@chromium.org>
    Commit-Queue: Mark Cogan <marq@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#543389}
    f49290e8
grid_layout.mm 3.44 KB