• Xida Chen's avatar
    Parameterize some tests using kCompositorTouchAction · 12592d43
    Xida Chen authored
    This CL parameterize some tests using this flag. It does 2 things:
    1. Move the kCompositorTouchAction flag from content/ to ui/events/blink.
    This is because InputHandlerProxy will need to have access to this flag,
    and that content/ depends on ui/events/blink.
    2. Parameterize necessary tests based on this flag. Tests include:
    InputRouterImplTest, TouchActionFilterTest, InputHandlerProxyTest,
    TouchActionBrowserTest.
    
    In order to pameterize the InputRouterImplTest, we have to extract a
    InputRouterImplTestBase. The reason is that InputRouterImplTest has a
    subclass "TouchpadPinchInputRouterImplTest", which is already a
    parameterized test depending on another flag.
    
    Bug: 900202
    Change-Id: I07e30739ee86aaf8b1840d6e0dccfc504a16b075
    Reviewed-on: https://chromium-review.googlesource.com/c/1307833
    Commit-Queue: Xida Chen <xidachen@chromium.org>
    Reviewed-by: default avatarDave Tapuska <dtapuska@chromium.org>
    Reviewed-by: default avatarDmitry Gozman <dgozman@chromium.org>
    Reviewed-by: default avatarDavid Bokan <bokan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#604491}
    12592d43
content_features.cc 31.5 KB