2007-03-22 10:30:00 -07:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 04:12:37 -07:00
|
|
|
/* 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/. */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
#include "domstubs.idl"
|
|
|
|
|
2007-06-12 14:56:06 -07:00
|
|
|
[scriptable, uuid(1a38762b-4da5-4f61-80fb-9317e198cb92)]
|
2007-03-22 10:30:00 -07:00
|
|
|
interface nsIDOMDocumentXBL : nsISupports
|
|
|
|
{
|
2009-10-11 19:45:00 -07:00
|
|
|
/**
|
2010-10-12 05:26:47 -07:00
|
|
|
* See the MDC documentation for what these methods do.
|
2009-10-11 19:45:00 -07:00
|
|
|
*/
|
2007-03-22 10:30:00 -07:00
|
|
|
nsIDOMNodeList getAnonymousNodes(in nsIDOMElement elt);
|
|
|
|
nsIDOMElement getAnonymousElementByAttribute(in nsIDOMElement elt,
|
|
|
|
in DOMString attrName,
|
|
|
|
in DOMString attrValue);
|
|
|
|
|
|
|
|
void addBinding(in nsIDOMElement elt,
|
|
|
|
in DOMString bindingURL);
|
|
|
|
void removeBinding(in nsIDOMElement elt,
|
|
|
|
in DOMString bindingURL);
|
|
|
|
|
|
|
|
nsIDOMElement getBindingParent(in nsIDOMNode node);
|
2007-06-12 14:56:06 -07:00
|
|
|
void loadBindingDocument(in DOMString documentURL);
|
2007-03-22 10:30:00 -07:00
|
|
|
};
|