• Ella Ge's avatar
    Add gesture_provider to mac · 181d852d
    Ella Ge authored
    We were skipping Mac PointerEvent tests with pointerType = 'touch'
    because mac doesn't have touch event support.
    This CL adds InjectTouchEvent function in mac RWHV, which supports injecting
    WebTouchEvent to mac platform.
    This adds gesture_provider to mac RWHV for testing purpose and will be used
    on touch emulator in the future.
    
    Tests with multiple touch point is still failing because of an
    issue with SyntheticTouchDriver. Still skip these tests(crbug.com/613672)
    
    This Cl also correct that screen coordinate wasn't set when creating
    synthetic WebMouseEvent.
    Because of that PointerLock movementX_Y test is failing. On mac,
    movement_delta was set from NS event. The injected event doesn't set
    the movement. Skip these two tests until crbug.com/802067 is resolved.
    
    Bug: 613672
    Change-Id: I78d442032ff36da2bc1ad3b84cc8ba9181ae8f0a
    Reviewed-on: https://chromium-review.googlesource.com/1039773
    Commit-Queue: Ella Ge <eirage@chromium.org>
    Reviewed-by: default avatarTimothy Dresser <tdresser@chromium.org>
    Reviewed-by: default avatarenne <enne@chromium.org>
    Reviewed-by: default avatarJames MacLean <wjmaclean@chromium.org>
    Reviewed-by: default avatarNavid Zolghadr <nzolghadr@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#556443}
    181d852d
actions_parser.cc 8.88 KB