| Index: content/browser/renderer_host/input/synthetic_gesture_controller.h
|
| diff --git a/content/browser/renderer_host/input/synthetic_gesture_controller.h b/content/browser/renderer_host/input/synthetic_gesture_controller.h
|
| index 8be8538dad7926175aa8160ec689cb0c635d9feb..0a42f316756f4b708a0112faaa2e887e9112cc03 100644
|
| --- a/content/browser/renderer_host/input/synthetic_gesture_controller.h
|
| +++ b/content/browser/renderer_host/input/synthetic_gesture_controller.h
|
| @@ -38,6 +38,10 @@ class CONTENT_EXPORT SyntheticGestureController {
|
| // Forward input events of the currently processed gesture.
|
| void Flush(base::TimeTicks timestamp);
|
|
|
| + // To be called when all events generated from the current gesture have been
|
| + // fully flushed from the input pipeline (i.e., sent, processed and ack'ed).
|
| + void OnDidFlushInput();
|
| +
|
| private:
|
| void StartGesture(const SyntheticGesture& gesture);
|
| void StopGesture(const SyntheticGesture& gesture,
|
| @@ -45,6 +49,7 @@ class CONTENT_EXPORT SyntheticGestureController {
|
| SyntheticGesture::Result result);
|
|
|
| scoped_ptr<SyntheticGestureTarget> gesture_target_;
|
| + scoped_ptr<SyntheticGesture::Result> pending_gesture_result_;
|
|
|
| // A queue of gesture/callback pairs. Implemented as two queues to
|
| // simplify the ownership of SyntheticGesture pointers.
|
|
|