summaryrefslogtreecommitdiffstats
path: root/dom/interfaces/events/nsIDOMCommandEvent.idl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/interfaces/events/nsIDOMCommandEvent.idl')
-rw-r--r--dom/interfaces/events/nsIDOMCommandEvent.idl17
1 files changed, 17 insertions, 0 deletions
diff --git a/dom/interfaces/events/nsIDOMCommandEvent.idl b/dom/interfaces/events/nsIDOMCommandEvent.idl
new file mode 100644
index 000000000..3d1b8adc7
--- /dev/null
+++ b/dom/interfaces/events/nsIDOMCommandEvent.idl
@@ -0,0 +1,17 @@
+/* -*- 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 "nsISupports.idl"
+
+[builtinclass, uuid(73a50e55-3eaa-4a38-a588-9b68a6d65032)]
+interface nsIDOMCommandEvent : nsISupports
+{
+ readonly attribute DOMString command;
+
+ void initCommandEvent(in DOMString typeArg,
+ in boolean canBubbleArg,
+ in boolean canCancelArg,
+ in DOMString command);
+};