• Alex Newcomer's avatar
    cros:Fix shelf bg blur snapping on windowed->maximized. · 638b033e
    Alex Newcomer authored
    We cannot animate opacity on a layer with blur, the result is that
    the blur will dissapear while the opacity is animating. This appears
    visually as a 'snap' away of the blur effect.
    
    Because this opacity animation is happening so quickly, just make it
    animate instantly to prevent the blur snapping away. (preferred by UX.)
    
    Also remove an un-used function, and some stale header includes.
    
    Bug: 956187
    Change-Id: I24480bab1b2ef377c253047ac5748c03e215ee81
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1584927Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
    Commit-Queue: Alex Newcomer <newcomer@chromium.org>
    Auto-Submit: Alex Newcomer <newcomer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#654622}
    638b033e
shelf_background_animator.cc 8.36 KB