summaryrefslogtreecommitdiffstats
path: root/WebCore/dom/Event.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/dom/Event.h')
-rw-r--r--WebCore/dom/Event.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/dom/Event.h b/WebCore/dom/Event.h
index fbcdc94..2b570d5 100644
--- a/WebCore/dom/Event.h
+++ b/WebCore/dom/Event.h
@@ -139,6 +139,9 @@ namespace WebCore {
#if ENABLE(TOUCH_EVENTS)
virtual bool isTouchEvent() const;
#endif
+#if ENABLE(DEVICE_ORIENTATION)
+ virtual bool isDeviceOrientationEvent() const;
+#endif
bool fromUserGesture();
bool propagationStopped() const { return m_propagationStopped || m_immediatePropagationStopped; }