Struct xpcom::interfaces::nsIDOMChromeWindow
[−]
[src]
#[repr(C)]pub struct nsIDOMChromeWindow { /* fields omitted */ }
interface nsIDOMChromeWindow : nsISupports
Methods
impl nsIDOMChromeWindow
[src]
pub fn coerce<T: nsIDOMChromeWindowCoerce>(&self) -> &T
[src]
Cast this nsIDOMChromeWindow
to one of its base interfaces.
impl nsIDOMChromeWindow
[src]
pub unsafe fn GetBrowserDOMWindow(
&self,
aBrowserDOMWindow: *mut *const nsIBrowserDOMWindow
) -> nsresult
[src]
&self,
aBrowserDOMWindow: *mut *const nsIBrowserDOMWindow
) -> nsresult
/**
* browserDOMWindow provides access to yet another layer of
* utility functions implemented by chrome script. It will be null
* for DOMWindows not corresponding to browsers.
*/
[noscript] readonly attribute nsIBrowserDOMWindow browserDOMWindow;
pub unsafe fn GetMessageManager(
&self,
aMessageManager: *mut *const nsIMessageBroadcaster
) -> nsresult
[src]
&self,
aMessageManager: *mut *const nsIMessageBroadcaster
) -> nsresult
[noscript] readonly attribute nsIMessageBroadcaster messageManager;
pub unsafe fn GetGroupMessageManager(
&self,
group: &nsAString,
_retval: *mut *const nsIMessageBroadcaster
) -> nsresult
[src]
&self,
group: &nsAString,
_retval: *mut *const nsIMessageBroadcaster
) -> nsresult
/**
* Returns the message manager identified by the given group name that
* manages all frame loaders belonging to that group.
*/
[noscript] nsIMessageBroadcaster getGroupMessageManager (in AString group);
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 nsIDOMChromeWindow
[src]
const IID: nsIID
IID: nsIID = nsID(2025704257, 7930, 16543, [170, 186, 112, 132, 34, 19, 248, 15])
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 nsIDOMChromeWindow
[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 nsIDOMChromeWindow
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.