summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/PlatformTouchEvent.h
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2012-05-24 14:31:43 -0700
committerJohn Reck <jreck@google.com>2012-05-24 17:54:31 -0700
commit91f41286e33b387859e4841711f3054bcf75c748 (patch)
tree383ce5fea572c95125d9b9b3fd826d5499bcc466 /Source/WebCore/platform/PlatformTouchEvent.h
parente5d2bf33ff91f1c00fb2ecd73879ba8d3a8298a7 (diff)
downloadexternal_webkit-91f41286e33b387859e4841711f3054bcf75c748.zip
external_webkit-91f41286e33b387859e4841711f3054bcf75c748.tar.gz
external_webkit-91f41286e33b387859e4841711f3054bcf75c748.tar.bz2
Support skipping a touch stream due to lack of handlers
Bug: 6317798 Change-Id: I8c4cd3bf4c538aff202ed0e3f84982fb112936a1
Diffstat (limited to 'Source/WebCore/platform/PlatformTouchEvent.h')
-rw-r--r--Source/WebCore/platform/PlatformTouchEvent.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/WebCore/platform/PlatformTouchEvent.h b/Source/WebCore/platform/PlatformTouchEvent.h
index f7524b4..d1de018 100644
--- a/Source/WebCore/platform/PlatformTouchEvent.h
+++ b/Source/WebCore/platform/PlatformTouchEvent.h
@@ -68,6 +68,8 @@ public:
PlatformTouchEvent(QTouchEvent*);
#elif PLATFORM(ANDROID)
PlatformTouchEvent(const Vector<int>&, const Vector<IntPoint>&, TouchEventType, const Vector<PlatformTouchPoint::State>&, int metaState);
+ bool hitTouchHandler() { return m_hitTouchHandler; }
+ void setHitTouchHandler() { m_hitTouchHandler = true; }
#elif PLATFORM(BREWMP)
PlatformTouchEvent(AEEEvent, uint16 wParam, uint32 dwParam);
#elif PLATFORM(EFL)
@@ -93,6 +95,9 @@ protected:
bool m_shiftKey;
bool m_metaKey;
double m_timestamp;
+#if PLATFORM(ANDROID)
+ bool m_hitTouchHandler;
+#endif
};
}