Addign XBL DOM interface files, not part of the build yet.

This commit is contained in:
jst%netscape.com 2001-02-24 12:28:46 +00:00
parent 75c3bf8ceb
commit b62759e317
2 changed files with 69 additions and 0 deletions

30
dom/public/idl/xbl/makefile.win Executable file
View File

@ -0,0 +1,30 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
DEPTH=..\..\..\..
MODULE=dom_xbl
XPIDLSRCS = \
.\nsIDOMDocumentXBL.idl \
$(NULL)
include <$(DEPTH)\config\rules.mak>

View File

@ -0,0 +1,39 @@
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is the Mozilla browser.
*
* The Initial Developer of the Original Code is Netscape
* Communications, Inc. Portions created by Netscape are
* Copyright (C) 1999, Mozilla. All Rights Reserved.
*
* Contributor(s):
*/
#include "domstubs.idl"
[scriptable, uuid(c7c0ae9b-a0ba-4f4e-9f2c-c18deb62ee8b)]
interface nsIDOMDocumentXBL : nsISupports
{
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);
nsIDOMDocument loadBindingDocument(in DOMString documentURL);
};