Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
nsDocShellModule.cpp File Reference
#include "nsIModule.h"
#include "nsIGenericFactory.h"
#include "nsDocShellCID.h"
#include "nsWebShell.h"
#include "nsDefaultURIFixup.h"
#include "nsWebNavigationInfo.h"
#include "nsURILoader.h"
#include "nsDocLoader.h"
#include "nsOSHelperAppService.h"
#include "nsExternalProtocolHandler.h"
#include "nsPrefetchService.h"
#include "nsSHEntry.h"
#include "nsSHistory.h"
#include "nsSHTransaction.h"
#include "nsGlobalHistoryAdapter.h"
#include "nsGlobalHistory2Adapter.h"

Go to the source code of this file.

Functions

 Initialize (nsIModule *aSelf)
 Shutdown (nsIModule *aSelf)

Variables

static PRBool gInitialized = PR_FALSE
static const nsModuleComponentInfo gDocShellModuleInfo []

Function Documentation

Initialize ( nsIModule aSelf)

Definition at line 70 of file nsDocShellModule.cpp.

{
  NS_PRECONDITION(!gInitialized, "docshell module already initialized");
  if (gInitialized) {
    return NS_OK;
  }
  gInitialized = PR_TRUE;

  nsresult rv = nsSHistory::Startup();
  return rv;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Shutdown ( nsIModule aSelf)

Definition at line 83 of file nsDocShellModule.cpp.

Here is the caller graph for this function:


Variable Documentation

Definition at line 118 of file nsDocShellModule.cpp.

Definition at line 65 of file nsDocShellModule.cpp.