summaryrefslogtreecommitdiffstats
path: root/dom/interfaces/events/nsIDOMWheelEvent.idl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/interfaces/events/nsIDOMWheelEvent.idl')
-rw-r--r--dom/interfaces/events/nsIDOMWheelEvent.idl15
1 files changed, 15 insertions, 0 deletions
diff --git a/dom/interfaces/events/nsIDOMWheelEvent.idl b/dom/interfaces/events/nsIDOMWheelEvent.idl
new file mode 100644
index 000000000..2416bc070
--- /dev/null
+++ b/dom/interfaces/events/nsIDOMWheelEvent.idl
@@ -0,0 +1,15 @@
+/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* vim: set ts=2 et sw=2 tw=80: */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+#include "nsIDOMMouseEvent.idl"
+
+[builtinclass, uuid(d320d075-b29d-4edd-b3a3-3ffd460640de)]
+interface nsIDOMWheelEvent : nsIDOMMouseEvent
+{
+ const unsigned long DOM_DELTA_PIXEL = 0x00;
+ const unsigned long DOM_DELTA_LINE = 0x01;
+ const unsigned long DOM_DELTA_PAGE = 0x02;
+};