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

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 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/synthetic_gesture_params.h"
11 #include "content/common/input/synthetic_pointer_action_params.h"
12
13 using blink::WebTouchEvent;
14
15 namespace content {
16
17 struct CONTENT_EXPORT SyntheticPointerActionListParams
18 : public SyntheticGestureParams {
19 public:
20 using ParamList = std::vector<SyntheticPointerActionParams>;
21
22 SyntheticPointerActionListParams();
23 SyntheticPointerActionListParams(ParamList& param_list);
Navid Zolghadr 2016/12/06 17:05:38 Could this be const &?
lanwei 2016/12/07 19:04:27 Done.
24 SyntheticPointerActionListParams(
25 const SyntheticPointerActionListParams& other);
26 ~SyntheticPointerActionListParams() override;
27
28 GestureType GetGestureType() const override;
29
30 void PushPointerActionParams(const SyntheticPointerActionParams& param);
31 void PushPointerActionParams(int index,
32 const SyntheticPointerActionParams& param);
33
34 std::vector<ParamList> params;
Navid Zolghadr 2016/12/06 17:05:38 Can we make this private?
lanwei 2016/12/07 19:04:27 Because this has to pass through IPC channel, it i
35
36 static const SyntheticPointerActionListParams* Cast(
37 const SyntheticGestureParams* gesture_params);
38 };
39
40 } // namespace content
41
42 #endif // CONTENT_COMMON_INPUT_SYNTHETIC_POINTER_ACTION_LIST_PARAMS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698