summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/dom/TouchEvent.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom/TouchEvent.h')
-rw-r--r--Source/WebCore/dom/TouchEvent.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/WebCore/dom/TouchEvent.h b/Source/WebCore/dom/TouchEvent.h
index 1514cf8..fba613f 100644
--- a/Source/WebCore/dom/TouchEvent.h
+++ b/Source/WebCore/dom/TouchEvent.h
@@ -62,6 +62,11 @@ public:
TouchList* targetTouches() const { return m_targetTouches.get(); }
TouchList* changedTouches() const { return m_changedTouches.get(); }
+#if PLATFORM(ANDROID)
+ virtual bool hitTouchHandler() const { return m_hitTouchHandler; }
+ virtual void setHitTouchHandler() { m_hitTouchHandler = true; }
+#endif
+
private:
TouchEvent();
TouchEvent(TouchList* touches, TouchList* targetTouches,
@@ -72,6 +77,10 @@ private:
virtual bool isTouchEvent() const { return true; }
+#if PLATFORM(ANDROID)
+ bool m_hitTouchHandler;
+#endif
+
RefPtr<TouchList> m_touches;
RefPtr<TouchList> m_targetTouches;
RefPtr<TouchList> m_changedTouches;