OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 WebMouseEvent_h | 5 #ifndef WebMouseEvent_h |
6 #define WebMouseEvent_h | 6 #define WebMouseEvent_h |
7 | 7 |
8 #include "WebInputEvent.h" | 8 #include "WebInputEvent.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
(...skipping 14 matching lines...) Expand all Loading... |
25 int y; | 25 int y; |
26 | 26 |
27 // DEPRECATED (crbug.com/507787) | 27 // DEPRECATED (crbug.com/507787) |
28 int windowX; | 28 int windowX; |
29 int windowY; | 29 int windowY; |
30 | 30 |
31 // Screen coordinate | 31 // Screen coordinate |
32 int globalX; | 32 int globalX; |
33 int globalY; | 33 int globalY; |
34 | 34 |
35 int movementX; | |
36 int movementY; | |
37 int clickCount; | 35 int clickCount; |
38 | 36 |
39 WebMouseEvent(Type typeParam, | 37 WebMouseEvent(Type typeParam, |
40 int xParam, | 38 int xParam, |
41 int yParam, | 39 int yParam, |
42 int globalXParam, | 40 int globalXParam, |
43 int globalYParam, | 41 int globalYParam, |
44 int modifiersParam, | 42 int modifiersParam, |
45 double timeStampSecondsParam) | 43 double timeStampSecondsParam) |
46 : WebInputEvent(sizeof(WebMouseEvent), | 44 : WebInputEvent(sizeof(WebMouseEvent), |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 WebPointerProperties() {} | 111 WebPointerProperties() {} |
114 | 112 |
115 void flattenTransformSelf(); | 113 void flattenTransformSelf(); |
116 }; | 114 }; |
117 | 115 |
118 #pragma pack(pop) | 116 #pragma pack(pop) |
119 | 117 |
120 } // namespace blink | 118 } // namespace blink |
121 | 119 |
122 #endif // WebMouseEvent_h | 120 #endif // WebMouseEvent_h |
OLD | NEW |