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]
pub fn coerce<T: nsILoadURIDelegateCoerce>(&self) -> &T
[src]
Cast this nsILoadURIDelegate
to one of its base interfaces.
impl nsILoadURIDelegate
[src]
pub unsafe fn LoadURI(
&self,
aURI: *const nsIURI,
aWhere: int16_t,
aFlags: int32_t,
aTriggeringPrincipal: *const nsIPrincipal
) -> nsresult
[src]
&self,
aURI: *const nsIURI,
aWhere: int16_t,
aFlags: int32_t,
aTriggeringPrincipal: *const nsIPrincipal
) -> nsresult
/**
* 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>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsILoadURIDelegate
[src]
const IID: nsIID
IID: nsIID = nsID(2028219703, 41804, 19862, [185, 1, 37, 56, 86, 105, 171, 164])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[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]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsILoadURIDelegate
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.