summaryrefslogtreecommitdiffstats
path: root/WebKit/android/plugins/SkANP.cpp
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2010-03-05 11:39:01 -0500
committerGrace Kloba <klobag@google.com>2010-03-09 11:33:41 -0800
commit6ed4a4e9a23ead7c910239171daf02b8fbecc17b (patch)
tree481f3029333ec03e0f3952cdc1088f46f2c64242 /WebKit/android/plugins/SkANP.cpp
parentfa26a8dd531dff44d6cad0700ff32c0bb949392c (diff)
downloadexternal_webkit-6ed4a4e9a23ead7c910239171daf02b8fbecc17b.zip
external_webkit-6ed4a4e9a23ead7c910239171daf02b8fbecc17b.tar.gz
external_webkit-6ed4a4e9a23ead7c910239171daf02b8fbecc17b.tar.bz2
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.
Diffstat (limited to 'WebKit/android/plugins/SkANP.cpp')
-rw-r--r--WebKit/android/plugins/SkANP.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/WebKit/android/plugins/SkANP.cpp b/WebKit/android/plugins/SkANP.cpp
index bb3fe45..720387d 100644
--- a/WebKit/android/plugins/SkANP.cpp
+++ b/WebKit/android/plugins/SkANP.cpp
@@ -103,11 +103,4 @@ bool SkANP::SetBitmap(ANPBitmap* dst, const SkBitmap& src) {
void SkANP::InitEvent(ANPEvent* event, ANPEventType et) {
event->inSize = sizeof(ANPEvent);
event->eventType = et;
- event->timeStamp = currentTime() * 1000.0;
-}
-
-void SkANP::InitEvent(ANPEvent* event, ANPEventType et, long time) {
- event->inSize = sizeof(ANPEvent);
- event->eventType = et;
- event->timeStamp = time;
}