nsIDocShellTreeOwner

Methods

findItemWithName(name, aRequestor, aOriginalRequestor)

contentShellAdded(aContentShell, aPrimary, aTargetable, 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.

contentShellRemoved(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.

sizeShellTo(shell, cx, cy)

setPersistence(aPersistPosition, aPersistSize, aPersistSizeMode)

getPersistence(aPersistPosition, aPersistSize, aPersistSizeMode)

Attributes

primaryContentShell

targetableShellCount