• Mitsuru Oshima's avatar
    Overview optimizations · 46a9bbb1
    Mitsuru Oshima authored
    This is 2nd attempt to land: crrev.com/c/1304973
    [2] are the difference from above CL.
    
    *[2] Added null check in OnStartingAnimationComplete.
    * Pause occusion tracker during overview animation
     [2] wait 5000ms when exiting overview before resume
           because a user may re-enter overview
     [2] wait 50ms when entering overview before resume
           because it can take 2 frame to finish draing the frame
           after animation observer is called.
    * Activate the text filter after animation
    * [2]Animate shelf after overview animation.
    * [2] Improve blur animation:
     Use Compositor's AnimationObesrver to drive animation
     Progress only by 2 to reduce the frequency.
    * Don't animate backdrop window during overview animation.
    * Fix the bounds change issue in WindowGrid. It shouldn't change
    the parent window's bounds.
    
    
    Bug: 898077, 897387, b/118675936
    Test: no functional change. Manually tested visual change by entering/exiting overview mode
      in both clamshell and tabletmode.
      The web contents should load after animations without backdrop animation.
      No gap at the bottom of the screen after exiting overview mode.
    
    Change-Id: I5e5dc17afd62d4dc477d87becdeee91c55bd81ca
    Reviewed-on: https://chromium-review.googlesource.com/c/1304973
    Commit-Queue: Mitsuru Oshima <oshima@chromium.org>
    Reviewed-by: default avatarSammie Quon <sammiequon@chromium.org>
    Cr-Original-Commit-Position: refs/heads/master@{#604206}
    Reviewed-on: https://chromium-review.googlesource.com/c/1312614Reviewed-by: default avatarMalay Keshav <malaykeshav@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#604844}
    46a9bbb1
shelf_layout_manager.cc 57.1 KB