Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(415)

Unified Diff: content/browser/renderer_host/input/synthetic_smooth_move_gesture.h

Issue 2478423002: Rename SyntheticPointer to SyntheticPointerDriver (Closed)
Patch Set: rename Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698