summaryrefslogtreecommitdiffstats
path: root/dom/interfaces/xbl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/interfaces/xbl')
-rw-r--r--dom/interfaces/xbl/moz.build12
-rw-r--r--dom/interfaces/xbl/nsIDOMDocumentXBL.idl21
2 files changed, 33 insertions, 0 deletions
diff --git a/dom/interfaces/xbl/moz.build b/dom/interfaces/xbl/moz.build
new file mode 100644
index 000000000..a4f3f6ea8
--- /dev/null
+++ b/dom/interfaces/xbl/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 += [
+ 'nsIDOMDocumentXBL.idl',
+]
+
+XPIDL_MODULE = 'dom_xbl'
+
diff --git a/dom/interfaces/xbl/nsIDOMDocumentXBL.idl b/dom/interfaces/xbl/nsIDOMDocumentXBL.idl
new file mode 100644
index 000000000..0ae7154d2
--- /dev/null
+++ b/dom/interfaces/xbl/nsIDOMDocumentXBL.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"
+
+[uuid(af628000-e3fa-40d2-9118-fbaa9f3ec6b9)]
+interface nsIDOMDocumentXBL : nsISupports
+{
+ /**
+ * See the MDC documentation for what these methods do.
+ */
+ nsIDOMNodeList getAnonymousNodes(in nsIDOMElement elt);
+ nsIDOMElement getAnonymousElementByAttribute(in nsIDOMElement elt,
+ in DOMString attrName,
+ in DOMString attrValue);
+
+ nsIDOMElement getBindingParent(in nsIDOMNode node);
+ void loadBindingDocument(in DOMString documentURL);
+};