Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: content/common/input/synthetic_pointer_action_list_params.h

Issue 2336803003: Make SyntheticPointerAction to flush the pointer action sequence (Closed)
Patch Set: controller Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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/input_param_traits.h"
11 #include "content/common/input/synthetic_gesture_params.h"
12 #include "content/common/input/synthetic_pointer_action_params.h"
13
14 using blink::WebTouchEvent;
15
16 namespace content {
17
18 struct CONTENT_EXPORT SyntheticPointerActionListParams
19 : public SyntheticGestureParams {
20 public:
21 SyntheticPointerActionListParams();
22 SyntheticPointerActionListParams(SyntheticPointerActionParams param);
tdresser 2016/10/26 18:28:40 Do we need this, or could we just pass in a vector
lanwei 2016/10/30 23:23:13 Because most of the cases that we will only have o
tdresser 2016/10/31 14:22:57 Acknowledged.
23 SyntheticPointerActionListParams(
24 std::vector<SyntheticPointerActionParams>& param_list);
25 SyntheticPointerActionListParams(
26 const SyntheticPointerActionListParams& other);
tdresser 2016/10/26 18:28:40 Do we need to be able to copy these?
lanwei 2016/10/30 23:23:13 Yes, because SyntheticGestureParams has it, all of
27 ~SyntheticPointerActionListParams() override;
28
29 GestureType GetGestureType() const override;
30
31 std::vector<SyntheticPointerActionParams> param_list;
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698