Index: content/common/input/synthetic_pointer_action_params.h |
diff --git a/content/common/input/synthetic_pointer_action_params.h b/content/common/input/synthetic_pointer_action_params.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f1b2f798bc5a27c2ddb3eb78d1a703a34cc62c6c |
--- /dev/null |
+++ b/content/common/input/synthetic_pointer_action_params.h |
@@ -0,0 +1,34 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_COMMON_INPUT_SYNTHETIC_POINTER_ACTION_PARAMS_H_ |
+#define CONTENT_COMMON_INPUT_SYNTHETIC_POINTER_ACTION_PARAMS_H_ |
+ |
+#include "content/common/content_export.h" |
+#include "content/common/input/synthetic_gesture_params.h" |
+#include "ui/gfx/geometry/point_f.h" |
+ |
+namespace content { |
+ |
+struct CONTENT_EXPORT SyntheticPointerActionParams |
+ : public SyntheticGestureParams { |
+ public: |
+ SyntheticPointerActionParams(); |
+ SyntheticPointerActionParams(const SyntheticPointerActionParams& other); |
+ ~SyntheticPointerActionParams() override; |
+ |
+ GestureType GetGestureType() const override; |
+ |
tdresser
2016/03/02 19:38:50
Don't we need a delay here, and a delay PointerAct
|
+ int index; |
+ gfx::PointF position; |
+ PointerActionType pointer_action_type; |
+ bool process; |
tdresser
2016/03/02 19:37:56
What's this |process| bool for?
|
+ |
+ static const SyntheticPointerActionParams* Cast( |
+ const SyntheticGestureParams* gesture_params); |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_COMMON_INPUT_SYNTHETIC_POINTER_ACTION_PARAMS_H_ |