• sahel's avatar
    Send a GSB to main thread before switching to it in the middle of · 42f43cb3
    sahel authored
    scrolling.
    
    When wheel scroll latching is enabled, GSB occurs only once in the
    beginning of a scroll sequence. So, it is possible to need to switch
    to the main thread scroll handling in the middle of a scroll scroll
    sequence (e.g. due to a change in main thread scrolling reasons).
    To have a complete scroll sequence on main thread side and do the scroll
    chain computation only while handling GSB, this cl sends a GSB to the main thread before sending the GSU that is not handled in the impl thread
    side.
    
    BUG=526463
    TEST=AnimateInput/InputHandlerProxyTest.GestureScrollHandlingSwitchedToMainThread/*
    
    Review-Url: https://codereview.chromium.org/2854683002
    Cr-Commit-Position: refs/heads/master@{#471006}
    42f43cb3
input_handler_proxy_client.h 2.47 KB