summaryrefslogtreecommitdiffstats
path: root/WebKit
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2010-04-15 10:22:47 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-04-15 10:22:47 -0700
commit40a329169016c529dd7ff6bf403a00f1307f9eb6 (patch)
tree513295e942579cca6df859016a182794e342bf72 /WebKit
parent7f593939475f95ad30f95c6779b1787fff01c5e4 (diff)
parentea23914212d72886e8be45e6aa4e7eed7e5fc2ba (diff)
downloadexternal_webkit-40a329169016c529dd7ff6bf403a00f1307f9eb6.zip
external_webkit-40a329169016c529dd7ff6bf403a00f1307f9eb6.tar.gz
external_webkit-40a329169016c529dd7ff6bf403a00f1307f9eb6.tar.bz2
Merge "Remove the TouchStationary state from PlatformTouchPoint."
Diffstat (limited to 'WebKit')
-rw-r--r--WebKit/android/jni/WebViewCore.cpp8
-rw-r--r--WebKit/android/jni/WebViewCore.h1
2 files changed, 0 insertions, 9 deletions
diff --git a/WebKit/android/jni/WebViewCore.cpp b/WebKit/android/jni/WebViewCore.cpp
index eafd91c..5a0c471 100644
--- a/WebKit/android/jni/WebViewCore.cpp
+++ b/WebKit/android/jni/WebViewCore.cpp
@@ -2073,14 +2073,6 @@ bool WebViewCore::handleTouchEvent(int action, int x, int y, int metaState)
// Track previous touch and if stationary set the state.
WebCore::IntPoint pt(x - m_scrollOffsetX, y - m_scrollOffsetY);
-// handleTouchEvent() in EventHandler.cpp doesn't handle TouchStationary, which
-// causes preventDefault be false when it returns. As our Java side may continue
-// process the events if WebKit doesn't, it can cause unexpected result.
-// if (type == WebCore::TouchMove && pt == m_lastTouchPoint)
-// touchState = WebCore::PlatformTouchPoint::TouchStationary;
-
- m_lastTouchPoint = pt;
-
WebCore::PlatformTouchEvent te(pt, type, touchState, metaState);
preventDefault = m_mainFrame->eventHandler()->handleTouchEvent(te);
#endif
diff --git a/WebKit/android/jni/WebViewCore.h b/WebKit/android/jni/WebViewCore.h
index 8c885e6..4a4b335 100644
--- a/WebKit/android/jni/WebViewCore.h
+++ b/WebKit/android/jni/WebViewCore.h
@@ -553,7 +553,6 @@ namespace android {
#if ENABLE(TOUCH_EVENTS)
bool m_forwardingTouchEvents;
- IntPoint m_lastTouchPoint;
#endif
#if DEBUG_NAV_UI