• Dana Fried's avatar
    Fixes to animating layout manager. · d34c3531
    Dana Fried authored
    In a few caes, fading out a view would not actually cause it to become
    invisible. These can be listed as:
     - In some cases, FadeInOutMode::kHide would not hide the view
     - If the layout were reset during a fade-out of a view hidden by
       calling SetVisible() or FadeOut() the view might fail to hide
    
    This change ensures that a view that is supposed to fade out always does
    - and adds appropriate unit tests.
    
    Change-Id: I9713f9806e0aa13ad8b35982ac47c2112c91d348
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1979635Reviewed-by: default avatarCaroline Rising <corising@chromium.org>
    Commit-Queue: Dana Fried <dfried@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#727068}
    d34c3531
animating_layout_manager.h 12.8 KB