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

Side by Side Diff: content/browser/renderer_host/input/synthetic_pointer_gesture.h

Issue 1474803002: Rename SyntheticPointerGesture to SyntheticPointerAction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 2015 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_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_POINTER_GESTURE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_POINTER_GESTURE_H_
7
8 #include "base/macros.h"
9 #include "content/browser/renderer_host/input/synthetic_gesture.h"
10 #include "content/browser/renderer_host/input/synthetic_gesture_target.h"
11 #include "content/browser/renderer_host/input/synthetic_pointer.h"
12 #include "content/common/content_export.h"
13
14 namespace content {
15
16 class CONTENT_EXPORT SyntheticPointerGesture : public SyntheticGesture {
17 public:
18 SyntheticPointerGesture(
19 SyntheticGestureParams::GestureSourceType gesture_source_type,
20 PointerActionType pointer_action_type,
21 SyntheticPointer* synthetic_pointer,
22 gfx::PointF position,
23 int index = 0);
24 ~SyntheticPointerGesture() override;
25
26 SyntheticGesture::Result ForwardInputEvents(
27 const base::TimeTicks& timestamp,
28 SyntheticGestureTarget* target) override;
29
30 void ForwardTouchOrMouseInputEvents(const base::TimeTicks& timestamp,
31 SyntheticGestureTarget* target);
32
33 private:
34 SyntheticGestureParams::GestureSourceType gesture_source_type_;
35 PointerActionType pointer_action_type_;
36 gfx::PointF position_;
37 int index_;
38 SyntheticPointer* synthetic_pointer_;
39
40 DISALLOW_COPY_AND_ASSIGN(SyntheticPointerGesture);
41 };
42
43 } // namespace content
44
45 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_POINTER_GESTURE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698