• yoshiki iguchi's avatar
    Remove junk while auto-expansion of notifications · 331599ed
    yoshiki iguchi authored
    We recently re-implemented auto-expansion of notification
    (crbug.com/810656), but it sometimes caused some junkness
    while animation when it was auto-expanded. That was because
    auto-expanded is done in the final phase of layouting.
    
    This CL moves the auto-expansion to earlier phase:
    - (on add): just before the view is added to the list
    - (on update): just before the view is updated in the list
    - (on remove): just after the view is removed from the list
    
    Bug: 810656
    Test: manual
    Change-Id: I015f45f74eef37f89f11edc1b3b346d18771862c
    Reviewed-on: https://chromium-review.googlesource.com/958757
    Commit-Queue: Yoshiki Iguchi <yoshiki@chromium.org>
    Reviewed-by: default avatarTetsui Ohkubo <tetsui@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#543990}
    331599ed
message_list_view.h 5.15 KB