• malaykeshav's avatar
    Routes touch ACK events to the correct GestureProvider · dc60e34a
    malaykeshav authored
    Currently a call to |GestureRecognizerImpl::TransferEventsTo()| can lead
    to an incorrect state for touch events. Specifically, the event ACKS are
    getting routed to a different reference of GestureProvider from the one
    where the original events were routed to.
    
    This patch stores a mapping of every event that was dispatched along
    with its corresponding GestureProvider. This allows the event ACKS to be
    routed correctly despite a call made to |TransferEventsTo()|.
    
    BUG=698843
    COMPONENT=Gesture Recognizer, Touch Gestures, Drag and Drop
    
    Review-Url: https://codereview.chromium.org/2789203006
    Cr-Commit-Position: refs/heads/master@{#462925}
    dc60e34a
gesture_recognizer_impl.h 4.29 KB