• Toni Barzic's avatar
    Use target shelf y for app list close state animation · 7ef2362d
    Toni Barzic authored
    When animating app list to closed state, use the current target shelf
    y coordinate at target animation bounds. Before this cl, app list was
    using ideal shelf bounds, so the animation ends at the visible shelf
    bounds, assuming that shelf will remain in visible state, which is the
    case when the app list is hidden by clicking home button, but may not
    always be true - for example, shelf gets hidden if app list is closed
    using esc key.
    
    BUG=1046198
    
    Change-Id: Idb343482432fe9315082b45caff6679177c7d94f
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2027172Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
    Commit-Queue: Toni Baržić <tbarzic@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#736421}
    7ef2362d
shelf_layout_manager.h 26.7 KB