• chaopeng's avatar
    Prevent Aura Overlay Scrollbar fade out when tickmarks show · f96bf984
    chaopeng authored
    Currently, Aura Overlay Scrollbar will fade out when user finding in the
    page. This patch is to improve this UX.
    
    In this patch, we check HasFindInPageTickmarks in root vertical Scrollbar Layer
    then show and prevent it fadeout or post the hide animation the scrollbar at the
    end of syncing pending tree to active tree.
    
    After this, we will show Aura Overlay Scrollbar when user type the first
    character in find in page box and post fade out animation when user
    close find in page or delete last character in find in page box.
    
    Bug: 759152
    Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
    Change-Id: Id2baf95a6441ffa58a09597dba6b0bed5299a1c3
    Reviewed-on: https://chromium-review.googlesource.com/946744Reviewed-by: default avatarweiliangc <weiliangc@chromium.org>
    Reviewed-by: default avatarDavid Bokan <bokan@chromium.org>
    Commit-Queue: Jianpeng Chao <chaopeng@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#542281}
    f96bf984
scrollbar_animation_controller.h 5.86 KB