| Index: Source/core/events/GestureEvent.h
|
| diff --git a/Source/core/events/GestureEvent.h b/Source/core/events/GestureEvent.h
|
| index b12d217c489d1b67bdaeed0f7077645d759d3016..1a30de74b31ce45f855387ddc3469283c554cf12 100644
|
| --- a/Source/core/events/GestureEvent.h
|
| +++ b/Source/core/events/GestureEvent.h
|
| @@ -45,6 +45,11 @@ public:
|
|
|
| float deltaX() const { return m_deltaX; }
|
| float deltaY() const { return m_deltaY; }
|
| + float velocityX() const { return m_velocityX; }
|
| + float velocityY() const { return m_velocityY; }
|
| + bool inertial() const { return m_inertial; }
|
| +
|
| + int resendSource() const { return m_resendSource; }
|
|
|
| PassRefPtrWillBeRawPtr<EventDispatchMediator> createMediator() override;
|
|
|
| @@ -52,10 +57,15 @@ public:
|
|
|
| private:
|
| GestureEvent();
|
| - GestureEvent(const AtomicString& type, PassRefPtrWillBeRawPtr<AbstractView>, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, float deltaX, float deltaY, double uiTimeStamp);
|
| + GestureEvent(const AtomicString& type, PassRefPtrWillBeRawPtr<AbstractView>, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, float deltaX, float deltaY, float velocityX, float velocityY, bool inertial, double uiTimeStamp, int resendSource);
|
|
|
| float m_deltaX;
|
| float m_deltaY;
|
| + float m_velocityX;
|
| + float m_velocityY;
|
| + bool m_inertial;
|
| +
|
| + int m_resendSource;
|
| };
|
|
|
| class GestureEventDispatchMediator final : public EventDispatchMediator {
|
|
|