• Zhen Wang's avatar
    Show throbber when background tab resumes loading · d74f79c5
    Zhen Wang authored
    This CL fixes a bug about the spinner logic for staggered background
    tab opening feature. In this fix, we keep track of if the WebContents
    was hiding throbber. So later when we need to show throbber, we can force
    update the spinner even if the loading state is not changing.
    
    Before: background tab keeps showing favicon even when it resume to load.
    After: background tab will show spinner when it resumes to load.
    
    For more details, see crbug.com/762133 for the desired behavior.
    
    Bug: 762133,751210
    Change-Id: Ice1643f3ebf08d2f1bf94a47245b6e272187d0fa
    Reviewed-on: https://chromium-review.googlesource.com/810037
    Commit-Queue: Zhen Wang <zhenw@chromium.org>
    Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#522128}
    d74f79c5
tab_strip_controller.h 13.4 KB