summaryrefslogtreecommitdiffstats
path: root/WebCore/dom/Event.cpp
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2010-01-07 16:20:05 +0000
committerBen Murdoch <benm@google.com>2010-01-20 10:33:01 +0000
commitf5306da72ab6bb63f7ae07371e687f72a75c2fb2 (patch)
tree34c3ada7bea43cd10fd036aad91a9bf2e7dbdc2d /WebCore/dom/Event.cpp
parentefd3d8ad1e5b1af7b31f8a9569df0b8568cdb52b (diff)
downloadexternal_webkit-f5306da72ab6bb63f7ae07371e687f72a75c2fb2.zip
external_webkit-f5306da72ab6bb63f7ae07371e687f72a75c2fb2.tar.gz
external_webkit-f5306da72ab6bb63f7ae07371e687f72a75c2fb2.tar.bz2
Refactor our touch event code to use the version submitted to webkit.org by the Qt team.
Change-Id: I2953472cee68aadf18f9dd740e9b3f69ad729cf0
Diffstat (limited to 'WebCore/dom/Event.cpp')
-rw-r--r--WebCore/dom/Event.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/WebCore/dom/Event.cpp b/WebCore/dom/Event.cpp
index eda44b0..be2b37b 100644
--- a/WebCore/dom/Event.cpp
+++ b/WebCore/dom/Event.cpp
@@ -180,20 +180,20 @@ bool Event::isStorageEvent() const
}
#endif
-#if ENABLE(TOUCH_EVENTS) // Android
-bool Event::isTouchEvent() const
+#if ENABLE(WORKERS)
+bool Event::isErrorEvent() const
{
return false;
}
#endif
-#if ENABLE(WORKERS)
-bool Event::isErrorEvent() const
+#if ENABLE(TOUCH_EVENTS)
+bool Event::isTouchEvent() const
{
return false;
}
#endif
-
+
bool Event::storesResultAsString() const
{
return false;