From 6ed4a4e9a23ead7c910239171daf02b8fbecc17b Mon Sep 17 00:00:00 2001 From: Leon Scroggins Date: Fri, 5 Mar 2010 11:39:01 -0500 Subject: Only call plugin touch code if it is in full screen mode or it is the document focused node. Remove Android special code added to support prevent default for double tap and long press. Long press and double tap needs to call preventDefault if it is needed. Remove Android special code added to pass event time. Need a separate CL for android_npapi. --- WebKit/android/plugins/PluginDebugAndroid.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'WebKit/android/plugins/PluginDebugAndroid.cpp') diff --git a/WebKit/android/plugins/PluginDebugAndroid.cpp b/WebKit/android/plugins/PluginDebugAndroid.cpp index e783419..e13e928 100644 --- a/WebKit/android/plugins/PluginDebugAndroid.cpp +++ b/WebKit/android/plugins/PluginDebugAndroid.cpp @@ -93,10 +93,8 @@ void anp_logPluginEvent(void* npp, const ANPEvent* evt, int16 returnVal, int ela case kTouch_ANPEventType: if(evt->data.touch.action < ARRAY_COUNT(inputActions)) { - uint32_t totalTime = android::uptimeMillis() - evt->timeStamp; - - anp_logPlugin("%p EVENT::TOUCH[%d] delay=%d time=%d action=%s [%d %d]", - npp, returnVal, totalTime - elapsedTime, elapsedTime, + anp_logPlugin("%p EVENT::TOUCH[%d] time=%d action=%s [%d %d]", + npp, returnVal, elapsedTime, inputActions[evt->data.touch.action], evt->data.touch.x, evt->data.touch.y); } else { -- cgit v1.1