• Xida Chen's avatar
    Remove WebGestureEvent::is_bubbled_from_child_frame · 064bdb85
    Xida Chen authored
    This CL removes that attributes. It also adds a gesture scroll bubbling
    case to ensure that the behavior is correct.
    
    Due to our previous temporary fix, we set |scrolling_touch_action_| to
    Auto at GSB if it has no value. To prove that this CL is actually working,
    we do:
    PS#1: remove the set |scrolling_touch_action_| to Auto at GSB, and
    the test will crash.
    PS#2: Keep 1, add a line in CrossProcessFrameConnector::BubbleScrollEvent
    which sets the |scrolling_touch_action_| to Auto. The test will pass.
    PS#3: Keep the temporary fix which sets |scrolling_touch_action_| to
    Auto at GSB.
    
    TBR=pdr@chromium.org
    
    Bug: 852835, 841270
    Change-Id: Ib33a39b4b0ef61e88645da427b920687bbcc80c9
    Reviewed-on: https://chromium-review.googlesource.com/1101315
    Commit-Queue: Xida Chen <xidachen@chromium.org>
    Reviewed-by: default avatarDave Tapuska <dtapuska@chromium.org>
    Reviewed-by: default avatarAntoine Labour <piman@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#568281}
    064bdb85
input_router_impl.h 10.2 KB