| Index: ui/events/gesture_detection/gesture_detector.h
|
| diff --git a/ui/events/gesture_detection/gesture_detector.h b/ui/events/gesture_detection/gesture_detector.h
|
| index df5e6d5ec773a9b0b304ca139936c73cba7f99c6..f1366c794761f2244997a82c449ed0838375d2a4 100644
|
| --- a/ui/events/gesture_detection/gesture_detector.h
|
| +++ b/ui/events/gesture_detection/gesture_detector.h
|
| @@ -99,6 +99,14 @@ class GESTURE_DETECTION_EXPORT GestureDetector {
|
| void set_longpress_enabled(bool enabled) { longpress_enabled_ = enabled; }
|
| void set_showpress_enabled(bool enabled) { showpress_enabled_ = enabled; }
|
|
|
| + // Returns the event storing the initial position of the pointer with given
|
| + // pointer ID. This returns nullptr if the source event isn't
|
| + // current_down_event_ or secondary_pointer_down_event_.
|
| + const MotionEvent* GetSourcePointerDownEvent(
|
| + const MotionEvent& current_down_event,
|
| + const MotionEvent& secondary_pointer_down_event,
|
| + const int pointer_id);
|
| +
|
| private:
|
| void Init(const Config& config);
|
| void OnShowPressTimeout();
|
|
|