summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/PlatformTouchEvent.h
diff options
context:
space:
mode:
authorHuahui Wu <hwu@google.com>2010-09-02 13:14:24 -0700
committerHuahui Wu <hwu@google.com>2010-09-27 10:20:08 -0700
commit17a554651c9530d8c0e0a2c1e04b9b7c2f683bd6 (patch)
treeae3cfeb14ac8bd6132165583c5088bae986b45d6 /WebCore/platform/PlatformTouchEvent.h
parentc95d7f499ee3250e2d4a51f7e8f04bb6ebfc6add (diff)
downloadexternal_webkit-17a554651c9530d8c0e0a2c1e04b9b7c2f683bd6.zip
external_webkit-17a554651c9530d8c0e0a2c1e04b9b7c2f683bd6.tar.gz
external_webkit-17a554651c9530d8c0e0a2c1e04b9b7c2f683bd6.tar.bz2
Bug: 2372180
This CL adds support to pass multi-touch event from browser to webkit. PlatformTouchEvent.h and PlatformTouchEventAndroid.cpp: changed the android constructor to take multiple touch points. PlatformTouchPoint.h and PlatformTouchPointAndroid.cpp: changed the android constructor to take a touch point ID. WebViewCore.h and WebViewCore.cpp: 1. Updated handleTouchEvent(), HandleTouchEvent(), and jni interface to take multiple points. 2. Added support of action MotionEvent.ACTION_POINTER_DOWN & MotionEvent.ACTION_POINTER_UP. Change-Id: I79cffdba12a60ced9a571b4c1fd5b520a0fb6074
Diffstat (limited to 'WebCore/platform/PlatformTouchEvent.h')
-rw-r--r--WebCore/platform/PlatformTouchEvent.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/platform/PlatformTouchEvent.h b/WebCore/platform/PlatformTouchEvent.h
index c3a0283..db0f552 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, int metaState);
+ // Change in following line is in ANDROID but waiting for patch to WebKit getting accepted.
+ PlatformTouchEvent(const Vector<IntPoint>&, TouchEventType, PlatformTouchPoint::State, int metaState);
#endif
TouchEventType type() const { return m_type; }