OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_MOUSE_POINTER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_MOUSE_POINTER_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_MOUSE_POINTER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_MOUSE_POINTER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "content/browser/renderer_host/input/synthetic_pointer.h" | 9 #include "content/browser/renderer_host/input/synthetic_pointer.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 const base::TimeTicks& timestamp) override; | 26 const base::TimeTicks& timestamp) override; |
27 void Move(int index, | 27 void Move(int index, |
28 float x, | 28 float x, |
29 float y, | 29 float y, |
30 SyntheticGestureTarget* target, | 30 SyntheticGestureTarget* target, |
31 const base::TimeTicks& timestamp) override; | 31 const base::TimeTicks& timestamp) override; |
32 void Release(int index, | 32 void Release(int index, |
33 SyntheticGestureTarget* target, | 33 SyntheticGestureTarget* target, |
34 const base::TimeTicks& timestamp) override; | 34 const base::TimeTicks& timestamp) override; |
35 | 35 |
| 36 SyntheticGestureParams::GestureSourceType PointerSourceType() const override; |
| 37 |
36 private: | 38 private: |
37 blink::WebMouseEvent mouse_event_; | 39 blink::WebMouseEvent mouse_event_; |
38 DISALLOW_COPY_AND_ASSIGN(SyntheticMousePointer); | 40 DISALLOW_COPY_AND_ASSIGN(SyntheticMousePointer); |
39 }; | 41 }; |
40 | 42 |
41 } // namespace content | 43 } // namespace content |
42 | 44 |
43 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_MOUSE_POINTER_H_ | 45 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_MOUSE_POINTER_H_ |
OLD | NEW |