summaryrefslogtreecommitdiffstats
path: root/WebCore
diff options
context:
space:
mode:
authorGrace Kloba <klobag@google.com>2009-08-27 23:42:26 -0700
committerGrace Kloba <klobag@google.com>2009-08-27 23:42:26 -0700
commitfab52468ce6f01a540636f41d9c176b46bd5cf60 (patch)
treec8d0f2c51e3ce1f31cd1cada6825b5867126ceed /WebCore
parent8e008b4b8cd6aff82cb9a9705e13a637285c705d (diff)
downloadexternal_webkit-fab52468ce6f01a540636f41d9c176b46bd5cf60.zip
external_webkit-fab52468ce6f01a540636f41d9c176b46bd5cf60.tar.gz
external_webkit-fab52468ce6f01a540636f41d9c176b46bd5cf60.tar.bz2
We lost ontouchxxx with the new WK. Bring them back.
Diffstat (limited to 'WebCore')
-rw-r--r--WebCore/dom/Document.idl6
-rw-r--r--WebCore/dom/Element.idl6
2 files changed, 12 insertions, 0 deletions
diff --git a/WebCore/dom/Document.idl b/WebCore/dom/Document.idl
index 44966cc..cd3ec77 100644
--- a/WebCore/dom/Document.idl
+++ b/WebCore/dom/Document.idl
@@ -277,6 +277,12 @@ module core {
attribute [DontEnum] EventListener onscroll;
attribute [DontEnum] EventListener onselect;
attribute [DontEnum] EventListener onsubmit;
+#if ENABLE_TOUCH_EVENTS
+ attribute [DontEnum] EventListener ontouchstart;
+ attribute [DontEnum] EventListener ontouchend;
+ attribute [DontEnum] EventListener ontouchmove;
+ attribute [DontEnum] EventListener ontouchcancel;
+#endif
// attribute [DontEnum] EventListener oncanplay;
// attribute [DontEnum] EventListener oncanplaythrough;
diff --git a/WebCore/dom/Element.idl b/WebCore/dom/Element.idl
index 53711e9..e8988e1 100644
--- a/WebCore/dom/Element.idl
+++ b/WebCore/dom/Element.idl
@@ -161,6 +161,12 @@ module core {
attribute [DontEnum] EventListener onscroll;
attribute [DontEnum] EventListener onselect;
attribute [DontEnum] EventListener onsubmit;
+#if ENABLE_TOUCH_EVENTS
+ attribute [DontEnum] EventListener ontouchstart;
+ attribute [DontEnum] EventListener ontouchend;
+ attribute [DontEnum] EventListener ontouchmove;
+ attribute [DontEnum] EventListener ontouchcancel;
+#endif
// attribute [DontEnum] EventListener oncanplay;
// attribute [DontEnum] EventListener oncanplaythrough;