[scriptable, uuid(bc0eb30e-656e-491e-a7ae-7f460b660c8d)]
interface nsIDocShellTreeOwner : nsISupports

Attributes


          
readonly attribute nsIDocShellTreeItem primaryContentShell

Methods

 Called when a content shell is added to the docshell tree.  This is
 _only_ called for "root" content shells (that is, ones whose parent is a
 chrome shell).

 @param aContentShell the shell being added.
 @param aPrimary whether the shell is primary.
 @param aTargetable whether the shell can be a target for named window
					targeting.
 @param aID the "id" of the shell.  What this actually means is
			undefined. Don't rely on this for anything.
void contentShellAdded(in nsIDocShellTreeItem aContentShell, in boolean aPrimary, in boolean aTargetable, in AString aID)
 Called when a content shell is removed from the docshell tree.  This is
 _only_ called for "root" content shells (that is, ones whose parent is a
 chrome shell).  Note that if aContentShell was never added,
 contentShellRemoved should just do nothing.

 @param aContentShell the shell being removed.
void contentShellRemoved(in nsIDocShellTreeItem aContentShell)

          
nsIDocShellTreeItem findItemWithName(in wstring name, in nsIDocShellTreeItem aRequestor, in nsIDocShellTreeItem aOriginalRequestor)

          
void getPersistence(out boolean aPersistPosition, out boolean aPersistSize, out boolean aPersistSizeMode)

          
void setPersistence(in boolean aPersistPosition, in boolean aPersistSize, in boolean aPersistSizeMode)

          
void sizeShellTo(in nsIDocShellTreeItem shell, in long cx, in long cy)