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 5a92f31edf4ff8de63ad723c3f370d5f155d33fa..a791c0b11be141a0ad2c549349399d34e9b0da63 100644 |
--- a/content/browser/renderer_host/input/synthetic_gesture_controller.h |
+++ b/content/browser/renderer_host/input/synthetic_gesture_controller.h |
@@ -14,8 +14,10 @@ |
#include "base/memory/scoped_vector.h" |
#include "base/time/time.h" |
#include "content/browser/renderer_host/input/synthetic_gesture.h" |
+#include "content/browser/renderer_host/input/synthetic_pointer_action_controller.h" |
#include "content/common/content_export.h" |
#include "content/common/input/synthetic_gesture_params.h" |
+#include "content/common/input/synthetic_pointer_action_params.h" |
namespace content { |
@@ -36,6 +38,10 @@ class CONTENT_EXPORT SyntheticGestureController { |
std::unique_ptr<SyntheticGesture> synthetic_gesture, |
const OnGestureCompleteCallback& completion_callback); |
+ void QueueSyntheticPointerAction( |
+ const SyntheticGestureParams& gesture_params, |
+ const OnGestureCompleteCallback& completion_callback); |
tdresser
2016/09/30 13:24:30
Why are we passing raw Params here? Couldn't we ma
lanwei
2016/10/21 21:53:07
Done.
|
+ |
// Forward input events of the currently processed gesture. |
void Flush(base::TimeTicks timestamp); |
@@ -51,6 +57,7 @@ class CONTENT_EXPORT SyntheticGestureController { |
std::unique_ptr<SyntheticGestureTarget> gesture_target_; |
std::unique_ptr<SyntheticGesture::Result> pending_gesture_result_; |
+ SyntheticPointerActionController pointer_action_controller_; |
// A queue of gesture/callback pairs. Implemented as two queues to |
// simplify the ownership of SyntheticGesture pointers. |