summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/jni/WebViewCore.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/WebKit/android/jni/WebViewCore.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/WebKit/android/jni/WebViewCore.h')
-rw-r--r--Source/WebKit/android/jni/WebViewCore.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/WebKit/android/jni/WebViewCore.h b/Source/WebKit/android/jni/WebViewCore.h
index bfd9387..e7e97c3 100644
--- a/Source/WebKit/android/jni/WebViewCore.h
+++ b/Source/WebKit/android/jni/WebViewCore.h
@@ -322,8 +322,11 @@ namespace android {
/**
* Handle touch event
+ * Returns an int with the following flags:
+ * bit 0: hit an event handler
+ * bit 1: preventDefault was called
*/
- bool handleTouchEvent(int action, WTF::Vector<int>& ids,
+ int handleTouchEvent(int action, WTF::Vector<int>& ids,
WTF::Vector<WebCore::IntPoint>& points,
int actionIndex, int metaState);