Add gesture_provider to mac
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:Timothy Dresser <tdresser@chromium.org> Reviewed-by:
enne <enne@chromium.org> Reviewed-by:
James MacLean <wjmaclean@chromium.org> Reviewed-by:
Navid Zolghadr <nzolghadr@chromium.org> Cr-Commit-Position: refs/heads/master@{#556443}
Showing
Please register or sign in to comment