Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsXBLProtoImpl.cpp File Reference
#include "nsXBLProtoImpl.h"
#include "nsIContent.h"
#include "nsIDocument.h"
#include "nsContentUtils.h"
#include "nsIScriptGlobalObject.h"
#include "nsIScriptGlobalObjectOwner.h"
#include "nsIScriptContext.h"
#include "nsIXPConnect.h"
#include "nsIServiceManager.h"
#include "nsIXBLDocumentInfo.h"
#include "nsIDOMNode.h"

Go to the source code of this file.

Functions

nsresult NS_DOMClassInfo_PreserveNodeWrapper (nsIXPConnectWrappedNative *aWrapper)
nsresult NS_NewXBLProtoImpl (nsXBLPrototypeBinding *aBinding, const PRUnichar *aClassName, nsXBLProtoImpl **aResult)

Function Documentation

Definition at line 5398 of file nsDOMClassInfo.cpp.

Here is the call graph for this function:

nsresult NS_NewXBLProtoImpl ( nsXBLPrototypeBinding aBinding,
const PRUnichar aClassName,
nsXBLProtoImpl **  aResult 
)

Definition at line 224 of file nsXBLProtoImpl.cpp.

{
  nsXBLProtoImpl* impl = new nsXBLProtoImpl();
  if (!impl)
    return NS_ERROR_OUT_OF_MEMORY;
  if (aClassName)
    impl->mClassName.AssignWithConversion(aClassName);
  else
    aBinding->BindingURI()->GetSpec(impl->mClassName);
  aBinding->SetImplementation(impl);
  *aResult = impl;

  return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function: