Struct xpcom::interfaces::nsIXULBrowserWindow [] [src]

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

interface nsIXULBrowserWindow : nsISupports

/**
 * The nsIXULBrowserWindow supplies the methods that may be called from the
 * internals of the browser area to tell the containing xul window to update
 * its ui.
 */

Methods

impl nsIXULBrowserWindow
[src]

[src]

Cast this nsIXULBrowserWindow to one of its base interfaces.

impl nsIXULBrowserWindow
[src]

[src]

/**
   * Sets the status according to JS' version of status.
   */

void setJSStatus (in AString status);

/**
   * Tells the object implementing this function what link we are currently
   * over.
   */

void setOverLink (in AString link, in nsIDOMElement element);

[src]

/**
   * Determines the appropriate target for a link.
   */

AString onBeforeLinkTraversal (in AString originalTarget, in nsIURI linkURI, in nsIDOMNode linkNode, in boolean isAppTab);

[src]

/**
   * Find the initial browser of the window and set its remote attributes.
   * This can be used to ensure that there is a browser in a new window of the
   * correct type when it first spawns.
   */

void forceInitialBrowserRemote (in AString aRemoteType);

[src]

void forceInitialBrowserNonRemote (in mozIDOMWindowProxy openerWindow);

[src]

/**
   * Determines whether a load should continue.
   *
   * @param aDocShell
   *        The docshell performing the load.
   * @param aURI
   *        The URI being loaded.
   * @param aReferrer
   *        The referrer of the load.
   * @param aHasPostData
   *        True if the load which is being asked about has associated post data
   *        which would be discarded if the load was redirected across process
   *        boundaries.
   * @param aTriggeringPrincipal
   *        The principal that initiated the load of aURI.
   */

bool shouldLoadURI (in nsIDocShell aDocShell, in nsIURI aURI, in nsIURI aReferrer, in boolean aHasPostData, in nsIPrincipal aTriggeringPrincipal);

[src]

/**
   * Show/hide a tooltip (when the user mouses over a link, say).
   */

void showTooltip (in long x, in long y, in AString tooltip, in AString direction, in nsIFrameLoaderOwner browser);

[src]

void hideTooltip ();

[src]

/**
   * Return the number of tabs in this window.
   */

uint32_t getTabCount ();

[src]

/**
   * Navigate the browser to the given history index after restoring the full history
   * from SessionStore. If the browser is currently in GroupedSHistory mode, it will
   * be reverted to a non-grouped history mode. If a process change is required to
   * perform the load, this will also occur.
   */

void navigateAndRestoreByIndex (in nsIBrowser aBrowser, in long aIndex);

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 nsIXULBrowserWindow
[src]

IID: nsIID = nsID(2825346985, 51380, 17232, [152, 3, 195, 143, 52, 74, 158, 56])

[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 nsIXULBrowserWindow
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIXULBrowserWindow
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.