Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions | Variables
nsSHEntry.cpp File Reference
#include "nsSHEntry.h"
#include "nsXPIDLString.h"
#include "nsReadableUtils.h"
#include "nsIDocShellLoadInfo.h"
#include "nsIDocShellTreeItem.h"
#include "nsIDocument.h"
#include "nsIDOMDocument.h"
#include "plevent.h"
#include "nsAutoPtr.h"
#include "nsIEventQueue.h"
#include "nsEventQueueUtils.h"
#include "nsIPrincipal.h"
#include "nsIScriptSecurityManager.h"

Go to the source code of this file.

Classes

class  DestroyViewerEvent

Functions

 ClearParentPtr (nsISHEntry *aEntry, void *)
 NS_IMPL_ISUPPORTS6 (nsSHEntry, nsISHContainer, nsISHEntry, nsISHEntry_MOZILLA_1_8_BRANCH, nsISHEntry_MOZILLA_1_8_BRANCH2, nsIHistoryEntry, nsIDocumentObserver) NS_IMETHODIMP nsSHEntry
 HandleDestroyViewerEvent (PLEvent *aEvent)
 DestroyDestroyViewerEvent (PLEvent *aEvent)

Variables

static PRUint32 gEntryID = 0

Function Documentation

ClearParentPtr ( nsISHEntry aEntry,
void  
)

Definition at line 105 of file nsSHEntry.cpp.

{
  if (aEntry) {
    aEntry->SetParent(nsnull);
  }
  return PR_TRUE;
}

Here is the caller graph for this function:

Definition at line 766 of file nsSHEntry.cpp.

{
    delete NS_STATIC_CAST(DestroyViewerEvent*, aEvent);
}

Here is the caller graph for this function:

Definition at line 755 of file nsSHEntry.cpp.

{
  nsIContentViewer* viewer = NS_STATIC_CAST(DestroyViewerEvent*, aEvent)->mViewer;
  if (viewer) {
    viewer->Destroy();
  }

  return nsnull;
}

Here is the caller graph for this function:

Definition at line 128 of file nsSHEntry.cpp.

{
  mScrollPositionX = x;
  mScrollPositionY = y;
  return NS_OK;
}

Variable Documentation

PRUint32 gEntryID = 0 [static]

Definition at line 59 of file nsSHEntry.cpp.