mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 12:35:58 +00:00
Checking in patch from Johnny Stenback (jst@citec.fi) that exposes notation and entity creation DOM interfaces.
This commit is contained in:
parent
ef7db2ac2d
commit
5b03148478
@ -26,6 +26,7 @@ nsIDOMDocumentType.h
|
||||
nsIDOMDocumentFragment.h
|
||||
nsIDOMElement.h
|
||||
nsIDOMEntity.h
|
||||
nsIDOMNotation.h
|
||||
nsIDOMEntityReference.h
|
||||
nsIDOMNode.h
|
||||
nsIDOMNamedNodeMap.h
|
||||
|
@ -35,6 +35,7 @@ EXPORTS = \
|
||||
nsIDOMDocumentFragment.h \
|
||||
nsIDOMElement.h \
|
||||
nsIDOMEntity.h \
|
||||
nsIDOMNotation.h \
|
||||
nsIDOMEntityReference.h \
|
||||
nsIDOMNode.h \
|
||||
nsIDOMNamedNodeMap.h \
|
||||
|
@ -30,6 +30,7 @@ EXPORTS = \
|
||||
nsIDOMDocumentFragment.h \
|
||||
nsIDOMElement.h \
|
||||
nsIDOMEntity.h \
|
||||
nsIDOMNotation.h \
|
||||
nsIDOMEntityReference.h \
|
||||
nsIDOMNode.h \
|
||||
nsIDOMNamedNodeMap.h \
|
||||
|
@ -100,7 +100,16 @@ public:
|
||||
nsISupports *aPI,
|
||||
nsISupports *aParent,
|
||||
void** aReturn)=0;
|
||||
|
||||
|
||||
NS_IMETHOD NewScriptEntity(nsIScriptContext *aContext,
|
||||
nsISupports *aPI,
|
||||
nsISupports *aParent,
|
||||
void** aReturn)=0;
|
||||
|
||||
NS_IMETHOD NewScriptNotation(nsIScriptContext *aContext,
|
||||
nsISupports *aPI,
|
||||
nsISupports *aParent,
|
||||
void** aReturn)=0;
|
||||
};
|
||||
|
||||
#endif /* nsIDOMScriptObjectFactory_h__ */
|
||||
|
@ -44,6 +44,8 @@
|
||||
#include "nsIDOMNode.h"
|
||||
#include "nsIDOMNodeList.h"
|
||||
#include "nsIDOMProcessingInstruction.h"
|
||||
#include "nsIDOMEntity.h"
|
||||
#include "nsIDOMNotation.h"
|
||||
#include "nsIDOMText.h"
|
||||
#include "nsIDOMHTMLAnchorElement.h"
|
||||
#include "nsIDOMHTMLAppletElement.h"
|
||||
@ -274,6 +276,16 @@ public:
|
||||
nsISupports *aParent,
|
||||
void** aReturn);
|
||||
|
||||
NS_IMETHOD NewScriptEntity(nsIScriptContext *aContext,
|
||||
nsISupports *aPI,
|
||||
nsISupports *aParent,
|
||||
void** aReturn);
|
||||
|
||||
NS_IMETHOD NewScriptNotation(nsIScriptContext *aContext,
|
||||
nsISupports *aPI,
|
||||
nsISupports *aParent,
|
||||
void** aReturn);
|
||||
|
||||
};
|
||||
|
||||
nsDOMScriptObjectFactory::nsDOMScriptObjectFactory()
|
||||
@ -550,6 +562,26 @@ nsDOMScriptObjectFactory::NewScriptProcessingInstruction(nsIScriptContext *aCont
|
||||
}
|
||||
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsDOMScriptObjectFactory::NewScriptEntity(nsIScriptContext *aContext,
|
||||
nsISupports *aPI,
|
||||
nsISupports *aParent,
|
||||
void** aReturn)
|
||||
{
|
||||
return NS_NewScriptEntity(aContext, aPI, aParent, aReturn);
|
||||
}
|
||||
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsDOMScriptObjectFactory::NewScriptNotation(nsIScriptContext *aContext,
|
||||
nsISupports *aPI,
|
||||
nsISupports *aParent,
|
||||
void** aReturn)
|
||||
{
|
||||
return NS_NewScriptNotation(aContext, aPI, aParent, aReturn);
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
@ -39,6 +39,7 @@ CPPSRCS = \
|
||||
nsJSNamedNodeMap.cpp \
|
||||
nsJSNode.cpp \
|
||||
nsJSNodeList.cpp \
|
||||
nsJSNotation.cpp \
|
||||
nsJSProcessingInstruction.cpp \
|
||||
nsJSText.cpp \
|
||||
nsJSStyleSheet.cpp \
|
||||
|
@ -38,6 +38,7 @@ CPPSRCS = \
|
||||
nsJSNamedNodeMap.cpp \
|
||||
nsJSNode.cpp \
|
||||
nsJSNodeList.cpp \
|
||||
nsJSNotation.cpp \
|
||||
nsJSProcessingInstruction.cpp \
|
||||
nsJSText.cpp \
|
||||
nsJSStyleSheet.cpp \
|
||||
@ -59,6 +60,7 @@ CPP_OBJS= \
|
||||
.\$(OBJDIR)\nsJSNamedNodeMap.obj \
|
||||
.\$(OBJDIR)\nsJSNode.obj \
|
||||
.\$(OBJDIR)\nsJSNodeList.obj \
|
||||
.\$(OBJDIR)\nsJSNotation.obj \
|
||||
.\$(OBJDIR)\nsJSProcessingInstruction.obj \
|
||||
.\$(OBJDIR)\nsJSText.obj \
|
||||
.\$(OBJDIR)\nsJSStyleSheet.obj \
|
||||
|
Loading…
x
Reference in New Issue
Block a user