Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
nsFrameLoader Class Reference

#include <nsFrameLoader.h>

Inheritance diagram for nsFrameLoader:
Inheritance graph
[legend]
Collaboration diagram for nsFrameLoader:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsFrameLoader (nsIContent *aOwner)
void loadFrame ()
 Start loading the frame.
void destroy ()
 Destroy the frame loader and everything inside it.

Public Attributes

readonly attribute nsIDocShell docShell
 Get the docshell from the frame loader.
readonly attribute boolean depthTooGreat
 Find out whether the loader's frame is at too great a depth in the frame tree.

Private Member Functions

 ~nsFrameLoader ()
 NS_HIDDEN_ (nsresult) EnsureDocShell()
 NS_HIDDEN_ (void) GetURL(nsString &aURL)
 NS_HIDDEN_ (nsresult) CheckForRecursiveLoad(nsIURI *aURI)

Private Attributes

nsCOMPtr< nsIDocShellmDocShell
nsIContentmOwnerContent
PRPackedBool mDepthTooGreat
PRPackedBool mIsTopLevelContent

Detailed Description

Definition at line 49 of file nsFrameLoader.h.


Constructor & Destructor Documentation

nsFrameLoader::nsFrameLoader ( nsIContent aOwner) [inline]

Definition at line 52 of file nsFrameLoader.h.

nsFrameLoader::~nsFrameLoader ( ) [inline, private]

Definition at line 62 of file nsFrameLoader.h.

{ nsFrameLoader::Destroy(); }

Member Function Documentation

void nsIFrameLoader::destroy ( ) [inherited]

Destroy the frame loader and everything inside it.

This will clear the weak owner content reference.

Start loading the frame.

This method figures out what to load from the owner content in the frame loader.


Member Data Documentation

Find out whether the loader's frame is at too great a depth in the frame tree.

This can be used to decide what operations may or may not be allowed on the loader's docshell.

Definition at line 69 of file nsIFrameLoader.idl.

Get the docshell from the frame loader.

Definition at line 50 of file nsIFrameLoader.idl.

Definition at line 71 of file nsFrameLoader.h.

Definition at line 68 of file nsFrameLoader.h.

Definition at line 72 of file nsFrameLoader.h.

Definition at line 70 of file nsFrameLoader.h.


The documentation for this class was generated from the following file: