Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsXULContentSink.cpp File Reference
#include "nsCOMPtr.h"
#include "nsForwardReference.h"
#include "nsICSSLoader.h"
#include "nsICSSParser.h"
#include "nsICSSStyleSheet.h"
#include "nsIContentSink.h"
#include "nsIDOMDocument.h"
#include "nsIDOMEventListener.h"
#include "nsIDOMHTMLFormElement.h"
#include "nsIDOMXULDocument.h"
#include "nsIDocument.h"
#include "nsIDocumentLoader.h"
#include "nsIFormControl.h"
#include "nsHTMLStyleSheet.h"
#include "nsINameSpaceManager.h"
#include "nsINodeInfo.h"
#include "nsIParser.h"
#include "nsIPresShell.h"
#include "nsIScriptContext.h"
#include "nsIScriptGlobalObject.h"
#include "nsIServiceManager.h"
#include "nsITextContent.h"
#include "nsIURL.h"
#include "nsIViewManager.h"
#include "nsIXULContentSink.h"
#include "nsIXULDocument.h"
#include "nsIXULPrototypeDocument.h"
#include "nsIXULPrototypeCache.h"
#include "nsIScriptSecurityManager.h"
#include "nsLayoutCID.h"
#include "nsNetUtil.h"
#include "nsRDFCID.h"
#include "nsParserUtils.h"
#include "nsIMIMEHeaderParam.h"
#include "nsVoidArray.h"
#include "nsWeakPtr.h"
#include "nsXPIDLString.h"
#include "nsReadableUtils.h"
#include "nsXULElement.h"
#include "prlog.h"
#include "prmem.h"
#include "jsapi.h"
#include "nsCRT.h"
#include "nsIFastLoadService.h"
#include "nsIObjectInputStream.h"
#include "nsXULDocument.h"
#include "nsIExpatSink.h"
#include "nsUnicharUtils.h"
#include "nsXULAtoms.h"
#include "nsHTMLAtoms.h"
#include "nsNodeInfoManager.h"
#include "nsContentUtils.h"
#include "nsAttrName.h"
#include "nsXMLContentSink.h"
#include "nsLayoutAtoms.h"

Go to the source code of this file.

Classes

class  XULContentSinkImpl
class  XULContentSinkImpl::ContextStack
struct  XULContentSinkImpl::ContextStack::Entry

Functions

static NS_DEFINE_CID (kXULPrototypeCacheCID, NS_XULPROTOTYPECACHE_CID)
 NS_IMPL_ISUPPORTS4 (XULContentSinkImpl, nsIXULContentSink, nsIXMLContentSink, nsIContentSink, nsIExpatSink) NS_IMETHODIMP XULContentSinkImpl
nsresult NS_NewXULContentSink (nsIXULContentSink **aResult)

Class Documentation

struct XULContentSinkImpl::ContextStack::Entry

Definition at line 202 of file nsXULContentSink.cpp.

Collaboration diagram for XULContentSinkImpl::ContextStack::Entry:
Class Members
nsAutoVoidArray mChildren
Entry * mNext
nsXULPrototypeNode * mNode
State mState

Function Documentation

static NS_DEFINE_CID ( kXULPrototypeCacheCID  ,
NS_XULPROTOTYPECACHE_CID   
) [static]

Definition at line 379 of file nsXULContentSink.cpp.

{
#if FIXME
    if (! mParentContentSink) {
        // If we're _not_ an overlay, then notify the document that
        // the load is beginning.
        mDocument->BeginLoad();
    }
#endif

    return NS_OK;
}

Definition at line 688 of file nsXULContentSink.cpp.

{
    NS_PRECONDITION(aResult != nsnull, "null ptr");
    if (! aResult)
        return NS_ERROR_NULL_POINTER;

    nsresult rv;
    XULContentSinkImpl* sink = new XULContentSinkImpl(rv);
    if (! sink)
        return NS_ERROR_OUT_OF_MEMORY;

    if (NS_FAILED(rv)) {
        delete sink;
        return rv;
    }

    NS_ADDREF(sink);
    *aResult = sink;
    return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function: