Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
nsWebShell.cpp File Reference
#include "nsDocShell.h"
#include "nsWebShell.h"
#include "nsIWebBrowserChrome.h"
#include "nsIInterfaceRequestor.h"
#include "nsIInterfaceRequestorUtils.h"
#include "nsIWebProgress.h"
#include "nsIDocumentLoader.h"
#include "nsIContentViewer.h"
#include "nsIDocumentViewer.h"
#include "nsIMarkupDocumentViewer.h"
#include "nsIClipboardCommands.h"
#include "nsILinkHandler.h"
#include "nsIStreamListener.h"
#include "nsIPrompt.h"
#include "nsNetUtil.h"
#include "nsIRefreshURI.h"
#include "nsIScriptGlobalObject.h"
#include "nsIScriptGlobalObjectOwner.h"
#include "nsIDOMEvent.h"
#include "nsPresContext.h"
#include "nsIComponentManager.h"
#include "nsIEventQueueService.h"
#include "nsCRT.h"
#include "nsVoidArray.h"
#include "nsString.h"
#include "nsReadableUtils.h"
#include "plevent.h"
#include "prprf.h"
#include "nsIPluginHost.h"
#include "nsplugin.h"
#include "nsIPluginManager.h"
#include "nsCDefaultURIFixup.h"
#include "nsIContent.h"
#include "prlog.h"
#include "nsCOMPtr.h"
#include "nsIPresShell.h"
#include "nsIWebShellServices.h"
#include "nsIGlobalHistory.h"
#include "prmem.h"
#include "prthread.h"
#include "nsXPIDLString.h"
#include "nsDOMError.h"
#include "nsIDOMRange.h"
#include "nsIURIContentListener.h"
#include "nsIDOMDocument.h"
#include "nsIDOMHTMLAnchorElement.h"
#include "nsIBaseWindow.h"
#include "nsIDocShell.h"
#include "nsIDocShellTreeItem.h"
#include "nsIDocShellTreeNode.h"
#include "nsIDocShellTreeOwner.h"
#include "nsCURILoader.h"
#include "nsIDOMWindowInternal.h"
#include "nsEscape.h"
#include "nsIPlatformCharset.h"
#include "nsICharsetConverterManager.h"
#include "nsISocketTransportService.h"
#include "nsTextFormatter.h"
#include "nsPIDOMWindow.h"
#include "nsPICommandUpdater.h"
#include "nsIController.h"
#include "nsIFocusController.h"
#include "nsGUIEvent.h"
#include "nsISHistoryInternal.h"
#include "nsIHttpChannel.h"
#include "nsIUploadChannel.h"
#include "nsISeekableStream.h"
#include "nsILocaleService.h"
#include "nsIStringBundle.h"
#include "nsICachingChannel.h"
#include "nsIDocument.h"
#include "nsITextToSubURI.h"
#include "nsIExternalProtocolService.h"
#include "nsCExternalHandlerService.h"
#include "nsIIDNService.h"

Go to the source code of this file.

Classes

struct  OnLinkClickEvent

Defines

#define WEB_TRACE_CALLS   0x1
#define WEB_TRACE_HISTORY   0x2
#define WEB_LOG_TEST(_lm, _bit)   (PRIntn((_lm)->level) & (_bit))
#define WEB_TRACE(_bit, _args)

Functions

static PRBool IsOffline ()
static void PR_CALLBACK HandlePLEvent (OnLinkClickEvent *aEvent)
static void PR_CALLBACK DestroyPLEvent (OnLinkClickEvent *aEvent)

Define Documentation

#define WEB_LOG_TEST (   _lm,
  _bit 
)    (PRIntn((_lm)->level) & (_bit))

Definition at line 134 of file nsWebShell.cpp.

#define WEB_TRACE (   _bit,
  _args 
)

Definition at line 144 of file nsWebShell.cpp.

Definition at line 131 of file nsWebShell.cpp.

Definition at line 132 of file nsWebShell.cpp.


Function Documentation

static void PR_CALLBACK DestroyPLEvent ( OnLinkClickEvent aEvent) [static]

Definition at line 362 of file nsWebShell.cpp.

{
  delete aEvent;
}
static void PR_CALLBACK HandlePLEvent ( OnLinkClickEvent aEvent) [static]

Definition at line 357 of file nsWebShell.cpp.

{
  aEvent->HandleEvent();
}

Here is the call graph for this function:

static PRBool IsOffline ( ) [static]

Definition at line 150 of file nsWebShell.cpp.

{
    PRBool offline = PR_TRUE;
    nsCOMPtr<nsIIOService> ios(do_GetIOService());
    if (ios)
        ios->GetOffline(&offline);
    return offline;
}

Here is the call graph for this function:

Here is the caller graph for this function: