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 eaed37d12a8ddec1a3f12a355bca4d43cf005af9..ed464e01e220149002ac5ff89ba9570f27efea27 100644 |
--- a/content/browser/renderer_host/input/synthetic_smooth_move_gesture.h |
+++ b/content/browser/renderer_host/input/synthetic_smooth_move_gesture.h |
@@ -33,6 +33,7 @@ class CONTENT_EXPORT SyntheticSmoothMoveGestureParams { |
InputType input_type; |
gfx::PointF start_point; |
std::vector<gfx::Vector2dF> distances; |
+ gfx::Vector2dF velocity; |
int speed_in_pixels_s; |
bool prevent_fling; |
bool add_slop; |
@@ -75,6 +76,9 @@ class CONTENT_EXPORT SyntheticSmoothMoveGesture : public SyntheticGesture { |
void ForwardMouseWheelEvent(SyntheticGestureTarget* target, |
const gfx::Vector2dF& delta, |
const base::TimeTicks& timestamp) const; |
+ void ForwardTouchpadFlingEvent(SyntheticGestureTarget* target, |
+ const gfx::Vector2dF& velocity, |
+ const base::TimeTicks& timestamp) const; |
void PressPoint(SyntheticGestureTarget* target, |
const base::TimeTicks& timestamp); |