Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIDocShellTreeOwner_MOZILLA_1_8_BRANCH Interface Reference

Interface added to handle window targeting in tabbrowser. More...

import "nsIDocShellTreeOwner.idl";

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

List of all members.

Public Member Functions

void contentShellAdded2 (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.
nsIDocShellTreeItem findItemWithName (in wstring name, in nsIDocShellTreeItem aRequestor, in nsIDocShellTreeItem aOriginalRequestor)
void contentShellAdded (in nsIDocShellTreeItem aContentShell, in boolean aPrimary, in wstring aID)
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

Detailed Description

Interface added to handle window targeting in tabbrowser.

This is a total hack that's only needed to work around the fact that the tree owner api is really pretty useless for dealing with multiple "real" browsers in the same "docshell tree" and that there's no way to set up multiple treeowners in XUL-land right now. Gecko 1.9 will NOT be shipping this interface, and nsIDocShellTreeOwner will hopefully be improved significantly.

TEMPORARY

Definition at line 115 of file nsIDocShellTreeOwner.idl.


Member Function Documentation

void nsIDocShellTreeOwner::contentShellAdded ( in nsIDocShellTreeItem  aContentShell,
in boolean  aPrimary,
in wstring  aID 
) [inherited]
void nsIDocShellTreeOwner_MOZILLA_1_8_BRANCH::contentShellAdded2 ( 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:
aContentShellthe shell being added.
aPrimarywhether the shell is primary.
aTargetablewhether the shell can be a target for named window targeting.
aIDthe "id" of the shell. What this actually means is undefined. Don't rely on this for anything.

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:
aContentShellthe shell being removed.
nsIDocShellTreeItem nsIDocShellTreeOwner::findItemWithName ( in wstring  name,
in nsIDocShellTreeItem  aRequestor,
in nsIDocShellTreeItem  aOriginalRequestor 
) [inherited]
void nsIDocShellTreeOwner::getPersistence ( out boolean  aPersistPosition,
out boolean  aPersistSize,
out boolean  aPersistSizeMode 
) [inherited]
void nsIDocShellTreeOwner::setPersistence ( in boolean  aPersistPosition,
in boolean  aPersistSize,
in boolean  aPersistSizeMode 
) [inherited]
void nsIDocShellTreeOwner::sizeShellTo ( in nsIDocShellTreeItem  shell,
in long  cx,
in long  cy 
) [inherited]

Member Data Documentation

Definition at line 81 of file nsIDocShellTreeOwner.idl.


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