Chromium Code Reviews| Index: third_party/WebKit/Source/core/events/PointerEvent.h |
| diff --git a/third_party/WebKit/Source/core/events/PointerEvent.h b/third_party/WebKit/Source/core/events/PointerEvent.h |
| index e6479485554f8142d250c04452152546c9a99f5c..38e82a5117b3c762899cfa7f79751b086b82f42f 100644 |
| --- a/third_party/WebKit/Source/core/events/PointerEvent.h |
| +++ b/third_party/WebKit/Source/core/events/PointerEvent.h |
| @@ -26,6 +26,8 @@ class CORE_EXPORT PointerEvent final : public MouseEvent { |
| float pressure() const { return m_pressure; } |
| long tiltX() const { return m_tiltX; } |
| long tiltY() const { return m_tiltY; } |
| + float tangentialPressure() const { return m_tangentialPressure; } |
| + long twist() const { return m_twist; } |
| const String& pointerType() const { return m_pointerType; } |
| bool isPrimary() const { return m_isPrimary; } |
| @@ -48,6 +50,8 @@ class CORE_EXPORT PointerEvent final : public MouseEvent { |
| float m_pressure; |
| long m_tiltX; |
| long m_tiltY; |
| + float m_tangentialPressure; |
|
dtapuska
2017/01/03 18:32:48
should this be a double to preserve data from java
mustaq
2017/01/03 19:09:24
I think this is fine because the spec specifies "f
lanwei
2017/01/05 16:13:41
Acknowledged.
|
| + long m_twist; |
| String m_pointerType; |
| bool m_isPrimary; |