diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/platform/PlatformTouchEvent.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/platform/PlatformTouchEvent.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/third_party/WebKit/Source/platform/PlatformTouchEvent.h b/chromium/third_party/WebKit/Source/platform/PlatformTouchEvent.h index e7c9e613014..d0ec1a3326b 100644 --- a/chromium/third_party/WebKit/Source/platform/PlatformTouchEvent.h +++ b/chromium/third_party/WebKit/Source/platform/PlatformTouchEvent.h @@ -30,13 +30,17 @@ class PlatformTouchEvent : public PlatformEvent { public: PlatformTouchEvent() : PlatformEvent(PlatformEvent::TouchStart) + , m_cancelable(true) { } const Vector<PlatformTouchPoint>& touchPoints() const { return m_touchPoints; } + bool cancelable() const { return m_cancelable; } + protected: Vector<PlatformTouchPoint> m_touchPoints; + bool m_cancelable; }; } |