summaryrefslogtreecommitdiffstats
path: root/WebCore/dom/Event.cpp
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2008-12-17 18:05:15 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2008-12-17 18:05:15 -0800
commit1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 (patch)
tree4457a7306ea5acb43fe05bfe0973b1f7faf97ba2 /WebCore/dom/Event.cpp
parent9364f22aed35e1a1e9d07c121510f80be3ab0502 (diff)
downloadexternal_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.zip
external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.gz
external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.bz2
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'WebCore/dom/Event.cpp')
-rw-r--r--WebCore/dom/Event.cpp37
1 files changed, 31 insertions, 6 deletions
diff --git a/WebCore/dom/Event.cpp b/WebCore/dom/Event.cpp
index 2f3313d..728afef 100644
--- a/WebCore/dom/Event.cpp
+++ b/WebCore/dom/Event.cpp
@@ -1,10 +1,8 @@
-/**
- * This file is part of the DOM implementation for KDE.
- *
+/*
* Copyright (C) 2001 Peter Kelly (pmk@post.com)
* Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de)
* Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
- * Copyright (C) 2003, 2005, 2006 Apple Computer, Inc.
+ * Copyright (C) 2003, 2005, 2006, 2008 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -21,6 +19,7 @@
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
+
#include "config.h"
#include "Event.h"
@@ -110,12 +109,10 @@ bool Event::isWheelEvent() const
return false;
}
-#if ENABLE(CROSS_DOCUMENT_MESSAGING)
bool Event::isMessageEvent() const
{
return false;
}
-#endif
bool Event::isBeforeTextInsertedEvent() const
{
@@ -132,6 +129,21 @@ bool Event::isProgressEvent() const
return false;
}
+bool Event::isWebKitAnimationEvent() const
+{
+ return false;
+}
+
+bool Event::isWebKitTransitionEvent() const
+{
+ return false;
+}
+
+bool Event::isXMLHttpRequestProgressEvent() const
+{
+ return false;
+}
+
#if ENABLE(SVG)
bool Event::isSVGZoomEvent() const
{
@@ -139,6 +151,19 @@ bool Event::isSVGZoomEvent() const
}
#endif
+#if ENABLE(DOM_STORAGE)
+bool Event::isStorageEvent() const
+{
+ return false;
+}
+#endif
+
+#if ENABLE(TOUCH_EVENTS) // Android
+bool Event::isTouchEvent() const
+{
+ return false;
+}
+#endif
bool Event::storesResultAsString() const
{