summaryrefslogtreecommitdiffstats
path: root/dom/interfaces/smil
diff options
context:
space:
mode:
Diffstat (limited to 'dom/interfaces/smil')
-rw-r--r--dom/interfaces/smil/moz.build12
-rw-r--r--dom/interfaces/smil/nsIDOMTimeEvent.idl20
2 files changed, 32 insertions, 0 deletions
diff --git a/dom/interfaces/smil/moz.build b/dom/interfaces/smil/moz.build
new file mode 100644
index 000000000..45fe588a7
--- /dev/null
+++ b/dom/interfaces/smil/moz.build
@@ -0,0 +1,12 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# 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/.
+
+XPIDL_SOURCES += [
+ 'nsIDOMTimeEvent.idl',
+]
+
+XPIDL_MODULE = 'dom_smil'
+
diff --git a/dom/interfaces/smil/nsIDOMTimeEvent.idl b/dom/interfaces/smil/nsIDOMTimeEvent.idl
new file mode 100644
index 000000000..898886615
--- /dev/null
+++ b/dom/interfaces/smil/nsIDOMTimeEvent.idl
@@ -0,0 +1,20 @@
+/* -*- Mode: C++; 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 "nsIDOMEvent.idl"
+
+/**
+ * The SMIL TimeEvent interface.
+ *
+ * For more information please refer to:
+ * http://www.w3.org/TR/SMIL/smil-timing.html#Events-TimeEvent
+ * http://www.w3.org/TR/SVG/animate.html#InterfaceTimeEvent
+ */
+
+[builtinclass, uuid(b5e7fbac-f572-426c-9320-0ef7630f03c1)]
+interface nsIDOMTimeEvent : nsIDOMEvent
+{
+ readonly attribute long detail;
+};