Public Member Functions | Public Attributes

nsIDocShellTreeOwner Interface Reference

import "nsIDocShellTreeOwner.idl";

Collaboration diagram for nsIDocShellTreeOwner:

List of all members.

Public Member Functions

nsIDocShellTreeItem findItemWithName (in wstring name, in nsIDocShellTreeItem aRequestor, in nsIDocShellTreeItem aOriginalRequestor)
void contentShellAdded (in nsIDocShellTreeItem aContentShell, in boolean aPrimary, in boolean aTargetable, in AString aID)
 Called when a content shell is added to the docshell tree.
void contentShellRemoved (in nsIDocShellTreeItem aContentShell)
 Called when a content shell is removed from the docshell tree.
void sizeShellTo (in nsIDocShellTreeItem shell, in long cx, in long cy)
void setPersistence (in boolean aPersistPosition, in boolean aPersistSize, in boolean aPersistSizeMode)
void getPersistence (out boolean aPersistPosition, out boolean aPersistSize, out boolean aPersistSizeMode)

Public Attributes

readonly attribute
nsIDocShellTreeItem 
primaryContentShell

Member Function Documentation

void nsIDocShellTreeOwner::contentShellAdded ( in nsIDocShellTreeItem  aContentShell,
in boolean  aPrimary,
in boolean  aTargetable,
in AString  aID 
)

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).

Parameters:
aContentShell the shell being added.
aPrimary whether the shell is primary.
aTargetable whether the shell can be a target for named window targeting.
aID the "id" of the shell. What this actually means is undefined. Don't rely on this for anything.
void nsIDocShellTreeOwner::contentShellRemoved ( in nsIDocShellTreeItem  aContentShell  ) 

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.

Parameters:
aContentShell the shell being removed.
nsIDocShellTreeItem nsIDocShellTreeOwner::findItemWithName ( in wstring  name,
in nsIDocShellTreeItem  aRequestor,
in nsIDocShellTreeItem  aOriginalRequestor 
)
void nsIDocShellTreeOwner::getPersistence ( out boolean  aPersistPosition,
out boolean  aPersistSize,
out boolean  aPersistSizeMode 
)
void nsIDocShellTreeOwner::setPersistence ( in boolean  aPersistPosition,
in boolean  aPersistSize,
in boolean  aPersistSizeMode 
)
void nsIDocShellTreeOwner::sizeShellTo ( in nsIDocShellTreeItem  shell,
in long  cx,
in long  cy 
)

Member Data Documentation


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