Now we have a new API pointerActionSequence in GpuBenchmarking, which can simulate a sequence of low level pointer actions, such as press, move and release for mouse, touch and pen. We will replace the actions in pointer events web-platform tests.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/11b24cf16bcfe02c4d881af965330ddfe72e7a64 commit 11b24cf16bcfe02c4d881af965330ddfe72e7a64 Author: lanwei <lanwei@chromium.org> Date: Tue Jan 17 18:31:02 2017 Replace touch actions in pointer event tests with pointerActionSequence Replace touchScrollInTarget and pinchZoomInTarget in pointerevent_common_input.js with pointerActionSequence. BUG= 680330 Review-Url: https://codereview.chromium.org/2627463002 Cr-Commit-Position: refs/heads/master@{#444096} [modify] https://crrev.com/11b24cf16bcfe02c4d881af965330ddfe72e7a64/content/browser/renderer_host/input/synthetic_touch_driver.cc [modify] https://crrev.com/11b24cf16bcfe02c4d881af965330ddfe72e7a64/content/renderer/gpu/actions_parser.cc [modify] https://crrev.com/11b24cf16bcfe02c4d881af965330ddfe72e7a64/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_common_input.js
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/988a23455eeee97b2611a4400f6716db1cc5c9c1 commit 988a23455eeee97b2611a4400f6716db1cc5c9c1 Author: lanwei <lanwei@chromium.org> Date: Wed Jan 18 21:42:14 2017 Support multi-button press for synthetic mouse events SyntheticWebMouseEventBuilder::Build now only supports left button press. In order to simulate multi-button press, we keep all the pressed buttons in SyntheticMouseDriver. This is separated from https://codereview.chromium.org/2621353003, which will replace mouse actions in pointer event tests with pointerActionSequence. BUG= 680330 Review-Url: https://codereview.chromium.org/2634183002 Cr-Commit-Position: refs/heads/master@{#444493} [modify] https://crrev.com/988a23455eeee97b2611a4400f6716db1cc5c9c1/content/browser/renderer_host/input/synthetic_gesture_target_aura.cc [modify] https://crrev.com/988a23455eeee97b2611a4400f6716db1cc5c9c1/content/browser/renderer_host/input/synthetic_mouse_driver.cc [modify] https://crrev.com/988a23455eeee97b2611a4400f6716db1cc5c9c1/content/browser/renderer_host/input/synthetic_mouse_driver.h [modify] https://crrev.com/988a23455eeee97b2611a4400f6716db1cc5c9c1/content/browser/renderer_host/input/synthetic_pointer_action.cc [modify] https://crrev.com/988a23455eeee97b2611a4400f6716db1cc5c9c1/content/browser/renderer_host/input/synthetic_pointer_action_unittest.cc [modify] https://crrev.com/988a23455eeee97b2611a4400f6716db1cc5c9c1/content/browser/renderer_host/input/synthetic_pointer_driver.h [modify] https://crrev.com/988a23455eeee97b2611a4400f6716db1cc5c9c1/content/browser/renderer_host/input/synthetic_touch_driver.cc [modify] https://crrev.com/988a23455eeee97b2611a4400f6716db1cc5c9c1/content/browser/renderer_host/input/synthetic_touch_driver.h [modify] https://crrev.com/988a23455eeee97b2611a4400f6716db1cc5c9c1/content/common/input/synthetic_pointer_action_params.cc [modify] https://crrev.com/988a23455eeee97b2611a4400f6716db1cc5c9c1/content/common/input/synthetic_pointer_action_params.h [modify] https://crrev.com/988a23455eeee97b2611a4400f6716db1cc5c9c1/content/common/input/synthetic_web_input_event_builders.cc [modify] https://crrev.com/988a23455eeee97b2611a4400f6716db1cc5c9c1/content/common/input_messages.h
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/8d7393562f8ce8900cdd642ea0b78eafde767b61 commit 8d7393562f8ce8900cdd642ea0b78eafde767b61 Author: lanwei <lanwei@chromium.org> Date: Fri Jan 20 14:46:07 2017 Replace mouse actions in pointer event tests with pointerActionSequence Replace mouseMove, mouseClick and mouseDrag in pointerevent_common_input.js with pointerActionSequence. BUG= 680330 Review-Url: https://codereview.chromium.org/2621353003 Cr-Commit-Position: refs/heads/master@{#445052} [modify] https://crrev.com/8d7393562f8ce8900cdd642ea0b78eafde767b61/content/renderer/gpu/actions_parser.cc [modify] https://crrev.com/8d7393562f8ce8900cdd642ea0b78eafde767b61/third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_common_input.js [modify] https://crrev.com/8d7393562f8ce8900cdd642ea0b78eafde767b61/third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_pointermove_on_chorded_mouse_button-manual-automation.js [modify] https://crrev.com/8d7393562f8ce8900cdd642ea0b78eafde767b61/third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_touch-action-mouse-manual-automation.js
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/d7de40d188cb377011ad81c9b82b814752c9124a commit d7de40d188cb377011ad81c9b82b814752c9124a Author: lanwei <lanwei@chromium.org> Date: Thu Jan 26 22:52:19 2017 Add the source type of pen to the synthetic WebMousEvent SyntheticWebMouseEventBuilder::Build now only supports pointer type of mouse. In order to simulate actions for pen devices, we will add the pointer type of pen to the synthetic WebMousEvent. The next patch will replace pen actions in pointer event tests with pointerActionSequence API. BUG= 680330 Review-Url: https://codereview.chromium.org/2633233002 Cr-Commit-Position: refs/heads/master@{#446479} [modify] https://crrev.com/d7de40d188cb377011ad81c9b82b814752c9124a/content/browser/BUILD.gn [modify] https://crrev.com/d7de40d188cb377011ad81c9b82b814752c9124a/content/browser/renderer_host/input/synthetic_gesture_target_aura.cc [modify] https://crrev.com/d7de40d188cb377011ad81c9b82b814752c9124a/content/browser/renderer_host/input/synthetic_mouse_driver.cc [modify] https://crrev.com/d7de40d188cb377011ad81c9b82b814752c9124a/content/browser/renderer_host/input/synthetic_mouse_driver.h [add] https://crrev.com/d7de40d188cb377011ad81c9b82b814752c9124a/content/browser/renderer_host/input/synthetic_pen_driver.cc [add] https://crrev.com/d7de40d188cb377011ad81c9b82b814752c9124a/content/browser/renderer_host/input/synthetic_pen_driver.h [modify] https://crrev.com/d7de40d188cb377011ad81c9b82b814752c9124a/content/browser/renderer_host/input/synthetic_pointer_action_unittest.cc [modify] https://crrev.com/d7de40d188cb377011ad81c9b82b814752c9124a/content/browser/renderer_host/input/synthetic_pointer_driver.cc [modify] https://crrev.com/d7de40d188cb377011ad81c9b82b814752c9124a/content/common/input/synthetic_gesture_params.h [modify] https://crrev.com/d7de40d188cb377011ad81c9b82b814752c9124a/content/common/input/synthetic_web_input_event_builders.cc [modify] https://crrev.com/d7de40d188cb377011ad81c9b82b814752c9124a/content/common/input/synthetic_web_input_event_builders.h
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/2ffc3b589c18052a25231bed91ba13e755917a8a commit 2ffc3b589c18052a25231bed91ba13e755917a8a Author: lanwei <lanwei@chromium.org> Date: Fri Jan 27 23:20:55 2017 Replace pen actions in pointer event tests with pointerActionSequence BUG= 680330 Review-Url: https://codereview.chromium.org/2629693002 Cr-Commit-Position: refs/heads/master@{#446824} [modify] https://crrev.com/2ffc3b589c18052a25231bed91ba13e755917a8a/content/renderer/gpu/actions_parser.cc [modify] https://crrev.com/2ffc3b589c18052a25231bed91ba13e755917a8a/third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_common_input.js
I believe we don't need this meta bug anymore as we are also moving to use ChromeDriver and testdriver.
Comment 1 by bugdroid1@chromium.org
, Jan 17 2017