OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_COMMON_INPUT_SYNTHETIC_POINTER_ACTION_LIST_PARAMS_H_ |
| 6 #define CONTENT_COMMON_INPUT_SYNTHETIC_POINTER_ACTION_LIST_PARAMS_H_ |
| 7 |
| 8 #include <vector> |
| 9 #include "content/common/content_export.h" |
| 10 #include "content/common/input/synthetic_gesture_params.h" |
| 11 #include "content/common/input/synthetic_pointer_action_params.h" |
| 12 |
| 13 namespace content { |
| 14 |
| 15 struct CONTENT_EXPORT SyntheticPointerActionListParams |
| 16 : public SyntheticGestureParams { |
| 17 public: |
| 18 using ParamList = std::vector<SyntheticPointerActionParams>; |
| 19 |
| 20 SyntheticPointerActionListParams(); |
| 21 SyntheticPointerActionListParams(const ParamList& param_list); |
| 22 SyntheticPointerActionListParams( |
| 23 const SyntheticPointerActionListParams& other); |
| 24 ~SyntheticPointerActionListParams() override; |
| 25 |
| 26 GestureType GetGestureType() const override; |
| 27 |
| 28 void PushPointerActionParams(const SyntheticPointerActionParams& param); |
| 29 void PushPointerActionParamsList(const ParamList& param_list); |
| 30 |
| 31 std::vector<ParamList> params; |
| 32 |
| 33 static const SyntheticPointerActionListParams* Cast( |
| 34 const SyntheticGestureParams* gesture_params); |
| 35 }; |
| 36 |
| 37 } // namespace content |
| 38 |
| 39 #endif // CONTENT_COMMON_INPUT_SYNTHETIC_POINTER_ACTION_LIST_PARAMS_H_ |
OLD | NEW |