diff options
Diffstat (limited to 'WebCore/platform/PlatformTouchEvent.h')
-rw-r--r-- | WebCore/platform/PlatformTouchEvent.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/WebCore/platform/PlatformTouchEvent.h b/WebCore/platform/PlatformTouchEvent.h index 1f071ce..854db3c 100644 --- a/WebCore/platform/PlatformTouchEvent.h +++ b/WebCore/platform/PlatformTouchEvent.h @@ -60,7 +60,8 @@ public: #if PLATFORM(QT) PlatformTouchEvent(QTouchEvent*); #elif PLATFORM(ANDROID) - PlatformTouchEvent(const IntPoint& windowPos, TouchEventType, PlatformTouchPoint::State); + // TODO (benm): eventTime is new and needs to be upstream + PlatformTouchEvent(const IntPoint& windowPos, TouchEventType, PlatformTouchPoint::State, long eventTime); #endif TouchEventType type() const { return m_type; } @@ -71,6 +72,8 @@ public: bool shiftKey() const { return m_shiftKey; } bool metaKey() const { return m_metaKey; } + long eventTime() const { return m_eventTime; } + private: TouchEventType m_type; Vector<PlatformTouchPoint> m_touchPoints; @@ -78,6 +81,7 @@ private: bool m_altKey; bool m_shiftKey; bool m_metaKey; + long m_eventTime; }; } |