Struct xpcom::interfaces::nsIWindowCreator2 [] [src]

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

interface nsIWindowCreator2 : nsIWindowCreator

Methods

impl nsIWindowCreator2
[src]

[src]

Cast this nsIWindowCreator2 to one of its base interfaces.

impl nsIWindowCreator2
[src]

[src]

/** Create a new window. Gecko will/may call this method, if made
      available to it, to create new windows.
      @param parent Parent window, if any. Null if not. The newly created
                    window should be made a child/dependent window of
                    the parent, if any (and if the concept applies
                    to the underlying OS).
      @param chromeFlags Chrome features from nsIWebBrowserChrome
      @param aOpeningTab The TabParent that is trying to open this new chrome
                         window. Can be nullptr.
      @param aOpener The window which is trying to open this new chrome window.
                     Can be nullptr
      @param aNextTabParentId The integer ID of the next tab parent actor to use.
                              0 means there is no next tab parent ID to use.
      @param cancel Return |true| to reject window creation. If true the
                    implementation has determined the window should not
                    be created at all. The caller should not default
                    to any possible backup scheme for creating the window.
      @return the new window. Will be null if canceled or an error occurred.
  */

nsIWebBrowserChrome createChromeWindow2 (in nsIWebBrowserChrome parent, in uint32_t chromeFlags, in nsITabParent aOpeningTab, in mozIDOMWindowProxy aOpener, in unsigned long long aNextTabParentId, out boolean cancel);

[src]

/**
   * B2G multi-screen support. When open another top-level window on b2g,
   * a screen ID is needed for identifying which screen this window is
   * opened to.
   * @param aScreenId Differentiate screens of windows. It is platform-
   *                  specific due to the hardware limitation for now.
   */

[noscript] void setScreenId (in uint32_t aScreenId);

Methods from Deref<Target = nsIWindowCreator>

[src]

Cast this nsIWindowCreator to one of its base interfaces.

[src]

/** Create a new window. Gecko will/may call this method, if made
      available to it, to create new windows.
      @param parent parent window, if any. null if not. the newly created
                    window should be made a child/dependent window of
                    the parent, if any (and if the concept applies
                    to the underlying OS).
      @param chromeFlags chrome features from nsIWebBrowserChrome
      @return the new window
  */

nsIWebBrowserChrome createChromeWindow (in nsIWebBrowserChrome parent, in uint32_t chromeFlags);

Trait Implementations

impl XpCom for nsIWindowCreator2
[src]

IID: nsIID = nsID(3066316425, 63870, 20274, [167, 35, 41, 238, 221, 251, 220, 83])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIWindowCreator2
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.