summaryrefslogtreecommitdiffstats
path: root/dom/interfaces/events/nsIDOMNSEvent.idl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/interfaces/events/nsIDOMNSEvent.idl')
-rw-r--r--dom/interfaces/events/nsIDOMNSEvent.idl21
1 files changed, 21 insertions, 0 deletions
diff --git a/dom/interfaces/events/nsIDOMNSEvent.idl b/dom/interfaces/events/nsIDOMNSEvent.idl
new file mode 100644
index 000000000..49e2ae6db
--- /dev/null
+++ b/dom/interfaces/events/nsIDOMNSEvent.idl
@@ -0,0 +1,21 @@
+/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* 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 "domstubs.idl"
+
+%{C++
+#ifdef ERROR
+#undef ERROR
+#endif
+%}
+
+[uuid(2580b4a2-6d85-4ca6-9be2-98f3406ad296)]
+interface nsIDOMNSEvent : nsISupports
+{
+ const long ALT_MASK = 0x00000001;
+ const long CONTROL_MASK = 0x00000002;
+ const long SHIFT_MASK = 0x00000004;
+ const long META_MASK = 0x00000008;
+};