summaryrefslogtreecommitdiffstats
path: root/WebCore/page/DOMWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/page/DOMWindow.h')
-rw-r--r--WebCore/page/DOMWindow.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/page/DOMWindow.h b/WebCore/page/DOMWindow.h
index e4aa4cb..a1f40a8 100644
--- a/WebCore/page/DOMWindow.h
+++ b/WebCore/page/DOMWindow.h
@@ -325,6 +325,10 @@ namespace WebCore {
DEFINE_ATTRIBUTE_EVENT_LISTENER(orientationchange);
#endif
+#if ENABLE(DEVICE_ORIENTATION)
+ DEFINE_ATTRIBUTE_EVENT_LISTENER(deviceorientation);
+#endif
+
DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationstart, webkitAnimationStart);
DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationiteration, webkitAnimationIteration);
DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationend, webkitAnimationEnd);