• Toni Barzic's avatar
    Animate hosted webviews during app list contents animations · d930d8c3
    Toni Barzic authored
    Assistant UI and search results page in the app list view may contain
    hosted native views (e.g. for answer cards, or assistant card UI
    elements). These would not animate with the app list page layers,
    causing glitches when app list view was animating after drag to
    fullscreen or half position.
    
    This CL updates the app list view contents animations for app list view
    state change to animate windows hosted within the app list (i.e. app
    list window children that have a host view property).
    
    Along the way, this makes sure that page shadoes are animated together
    with the page layers.
    
    BUG=b:147825124
    
    Change-Id: Ic1974b8a6767bbc25fdf96d5d6a67c41eb906fff
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2136845
    Commit-Queue: Toni Baržić <tbarzic@chromium.org>
    Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#757119}
    d930d8c3
contents_view.cc 40.6 KB