Index: content/browser/renderer_host/input/synthetic_gesture.h |
diff --git a/content/browser/renderer_host/input/synthetic_gesture.h b/content/browser/renderer_host/input/synthetic_gesture.h |
index c10c2fea2140dc39b9cfd23a231b7821b46e55c4..94524514c85219ce23f5308437d371c3cf92666a 100644 |
--- a/content/browser/renderer_host/input/synthetic_gesture.h |
+++ b/content/browser/renderer_host/input/synthetic_gesture.h |
@@ -46,9 +46,11 @@ class CONTENT_EXPORT SyntheticGesture { |
// platform. This function is called repeatedly by the synthetic gesture |
// controller until it stops returning GESTURE_RUNNING. |
virtual Result ForwardInputEvents( |
- const base::TimeDelta& interval, SyntheticGestureTarget* target) = 0; |
+ const base::TimeTicks& timestamp, SyntheticGestureTarget* target) = 0; |
+ |
+ protected: |
+ static double ConvertTimestampToSeconds(const base::TimeTicks& timestamp); |
- private: |
DISALLOW_COPY_AND_ASSIGN(SyntheticGesture); |
}; |