Adding synthetic touch/mouse drag [Part1]
We have synthetic scroll. But this feature doesn’t work in google maps in desktop version. To move around the maps we need to use click and drag on mouse. This CL adds only the background functions for synthetic click and drag and unittests. feature for telemety tests. In case of touch screens, the drag is identical to synthetic scroll already implemented, except for adding slop. The functions of class synthetic_smooth_scroll_gesture is moved to synthetic_smooth_move_gesture, with additional features of drag drop. Classes synthetic_smooth_scroll_gesture and synthetic_smooth_drag_gesture use the features with an instance of synthetic_smooth_move_gesture. In the next CLs The API and javascript interfaces will be added. BUG=457148 Review URL: https://codereview.chromium.org/929333002 Cr-Commit-Position: refs/heads/master@{#318071}
Showing
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment