Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
txMozillaXSLTProcessor.cpp File Reference
#include "txMozillaXSLTProcessor.h"
#include "nsContentCID.h"
#include "nsDOMError.h"
#include "nsIChannel.h"
#include "nsIContent.h"
#include "nsIDOMElement.h"
#include "nsIDOMText.h"
#include "nsIDocument.h"
#include "nsIDOMClassInfo.h"
#include "nsIDOMDocument.h"
#include "nsIDOMDocumentFragment.h"
#include "nsIDOMNodeList.h"
#include "nsIIOService.h"
#include "nsILoadGroup.h"
#include "nsIScriptLoader.h"
#include "nsIStringBundle.h"
#include "nsIURI.h"
#include "nsNetUtil.h"
#include "nsXPathResult.h"
#include "txExecutionState.h"
#include "txMozillaTextOutput.h"
#include "txMozillaXMLOutput.h"
#include "txURIUtils.h"
#include "XMLUtils.h"
#include "txUnknownHandler.h"
#include "txXSLTProcessor.h"
#include "nsIPrincipal.h"
#include "jsapi.h"
#include "nsIEventQueueService.h"
#include "ExprParser.h"
#include "nsIScriptSecurityManager.h"

Go to the source code of this file.

Classes

class  txToDocHandlerFactory
 Output Handler Factories. More...
class  txToFragmentHandlerFactory
class  txXSLTParamContext

Functions

static NS_DEFINE_CID (kXMLDocumentCID, NS_XMLDOCUMENT_CID)
PR_BEGIN_EXTERN_C void *PR_CALLBACK HandleTransformBlockerEvent (PLEvent *aEvent)
void PR_CALLBACK DestroyTransformBlockerEvent (PLEvent *aEvent)
static PRBool IsCallerChrome ()

Function Documentation

Definition at line 494 of file txMozillaXSLTProcessor.cpp.

{
    txMozillaXSLTProcessor *processor =
         NS_STATIC_CAST(txMozillaXSLTProcessor*, aEvent->owner);
    nsCOMPtr<nsIDocument> document =
        do_QueryInterface(processor->GetSourceContentModel());
    document->UnblockOnload();

    NS_RELEASE(processor);
    delete aEvent;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 484 of file txMozillaXSLTProcessor.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

static PRBool IsCallerChrome ( ) [static]

Definition at line 961 of file txMozillaXSLTProcessor.cpp.

{
  nsCOMPtr<nsIScriptSecurityManager> secman =
    do_GetService(NS_SCRIPTSECURITYMANAGER_CONTRACTID);
  PRBool is_caller_chrome = PR_FALSE;
  nsresult rv = secman->SubjectPrincipalIsSystem(&is_caller_chrome);
  if (NS_FAILED(rv)) {
    return PR_FALSE;
  }

  return is_caller_chrome;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static NS_DEFINE_CID ( kXMLDocumentCID  ,
NS_XMLDOCUMENT_CID   
) [static]