Chromium Code Reviews| Index: content/browser/renderer_host/input/synthetic_smooth_move_gesture.h |
| diff --git a/content/browser/renderer_host/input/synthetic_smooth_move_gesture.h b/content/browser/renderer_host/input/synthetic_smooth_move_gesture.h |
| index b370ff5a1172d03d3780f007d3d38bef6829c144..88d8ba17c5da773554f9cb062c0b428d1a390382 100644 |
| --- a/content/browser/renderer_host/input/synthetic_smooth_move_gesture.h |
| +++ b/content/browser/renderer_host/input/synthetic_smooth_move_gesture.h |
| @@ -11,7 +11,7 @@ |
| #include "base/time/time.h" |
| #include "content/browser/renderer_host/input/synthetic_gesture.h" |
| #include "content/browser/renderer_host/input/synthetic_gesture_target.h" |
| -#include "content/browser/renderer_host/input/synthetic_pointer.h" |
| +#include "content/browser/renderer_host/input/synthetic_pointer_driver.h" |
| #include "content/common/content_export.h" |
| #include "content/common/input/synthetic_smooth_drag_gesture_params.h" |
| #include "content/common/input/synthetic_smooth_scroll_gesture_params.h" |
| @@ -80,9 +80,11 @@ class CONTENT_EXPORT SyntheticSmoothMoveGesture : public SyntheticGesture { |
| const base::TimeTicks& timestamp); |
| void MovePoint(SyntheticGestureTarget* target, |
| const gfx::Vector2dF& delta, |
| - const base::TimeTicks& timestamp); |
| + const base::TimeTicks& timestamp, |
| + int index = 0); |
|
tdresser
2016/11/12 19:50:55
Should the default here be -1?
lanwei
2016/11/14 04:20:54
Done.
|
| void ReleasePoint(SyntheticGestureTarget* target, |
| - const base::TimeTicks& timestamp); |
| + const base::TimeTicks& timestamp, |
| + int index = 0); |
| void AddTouchSlopToFirstDistance(SyntheticGestureTarget* target); |
| gfx::Vector2dF GetPositionDeltaAtTime(const base::TimeTicks& timestamp) const; |
| @@ -93,7 +95,7 @@ class CONTENT_EXPORT SyntheticSmoothMoveGesture : public SyntheticGesture { |
| bool MoveIsNoOp() const; |
| SyntheticSmoothMoveGestureParams params_; |
| - std::unique_ptr<SyntheticPointer> synthetic_pointer_; |
| + std::unique_ptr<SyntheticPointerDriver> synthetic_pointer_driver_; |
| // Used for mouse input. |
| gfx::Vector2d current_move_segment_total_delta_discrete_; |
| // Used for touch input. |