Struct xpcom::interfaces::nsILoadURIDelegate [] [src]

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

interface nsILoadURIDelegate : nsISupports

/**
 * The nsILoadURIDelegate interface.
 * Used for delegating URI loads to GeckoView's application, e.g., Custom Tabs
 * or Progressive Web Apps.
 */

Methods

impl nsILoadURIDelegate
[src]

[src]

Cast this nsILoadURIDelegate to one of its base interfaces.

impl nsILoadURIDelegate
[src]

[src]

/**
   * Delegates the URI load.
   *
   * @param aURI The URI to load.
   * @param aWhere See possible values described in nsIBrowserDOMWindow.
   * @param aFlags Flags which control the behavior of the load.
   * @param aTriggeringPrincipal The principal that triggered the load of aURI.
  */

void loadURI (in nsIURI aURI, in short aWhere, in long aFlags, in nsIPrincipal aTriggeringPrincipal);

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

IID: nsIID = nsID(2028219703, 41804, 19862, [185, 1, 37, 56, 86, 105, 171, 164])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsILoadURIDelegate
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.