Struct xpcom::interfaces::nsIDocShellTreeOwner [] [src]

#[repr(C)]
pub struct nsIDocShellTreeOwner { /* fields omitted */ }

interface nsIDocShellTreeOwner : nsISupports

Methods

impl nsIDocShellTreeOwner
[src]

[src]

Cast this nsIDocShellTreeOwner to one of its base interfaces.

impl nsIDocShellTreeOwner
[src]

[src]

/**
     * 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.
     */

void contentShellAdded (in nsIDocShellTreeItem aContentShell, in boolean aPrimary);

[src]

/**
     * 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);

[src]

readonly attribute nsIDocShellTreeItem primaryContentShell;

[src]

void tabParentAdded (in nsITabParent aTab, in boolean aPrimary);

[src]

void tabParentRemoved (in nsITabParent aTab);

[src]

readonly attribute nsITabParent primaryTabParent;

[src]

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

[src]

void getPrimaryContentSize (out long width, out long height);

[src]

void setPrimaryContentSize (in long width, in long height);

[src]

void getRootShellSize (out long width, out long height);

[src]

void setRootShellSize (in long width, in long height);

[src]

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

[src]

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

[src]

readonly attribute unsigned long tabCount;

[src]

readonly attribute bool hasPrimaryContent;

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIDocShellTreeOwner
[src]

IID: nsIID = nsID(238929073, 19690, 18999, [175, 113, 121, 240, 175, 208, 117, 116])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIDocShellTreeOwner
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDocShellTreeOwner
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.