Struct xpcom::interfaces::nsIWindowCreator
[−]
[src]
#[repr(C)]pub struct nsIWindowCreator { /* fields omitted */ }
interface nsIWindowCreator : nsISupports
Methods
impl nsIWindowCreator
[src]
pub fn coerce<T: nsIWindowCreatorCoerce>(&self) -> &T
[src]
Cast this nsIWindowCreator
to one of its base interfaces.
impl nsIWindowCreator
[src]
pub unsafe fn CreateChromeWindow(
&self,
parent: *const nsIWebBrowserChrome,
chromeFlags: uint32_t,
_retval: *mut *const nsIWebBrowserChrome
) -> nsresult
[src]
&self,
parent: *const nsIWebBrowserChrome,
chromeFlags: uint32_t,
_retval: *mut *const nsIWebBrowserChrome
) -> nsresult
/** 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);
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 nsIWindowCreator
[src]
const IID: nsIID
IID: nsIID = nsID(809915954, 42871, 17612, [144, 249, 129, 69, 71, 94, 249, 153])
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 nsIWindowCreator
[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 nsIWindowCreator
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.