Struct xpcom::interfaces::nsIDOMMozBrowserFrame
[−]
[src]
#[repr(C)]pub struct nsIDOMMozBrowserFrame { /* fields omitted */ }
interface nsIDOMMozBrowserFrame : nsISupports
Methods
impl nsIDOMMozBrowserFrame
[src]
pub fn coerce<T: nsIDOMMozBrowserFrameCoerce>(&self) -> &T
[src]
Cast this nsIDOMMozBrowserFrame
to one of its base interfaces.
impl nsIDOMMozBrowserFrame
[src]
pub unsafe fn GetMozbrowser(&self, aMozbrowser: *mut bool) -> nsresult
[src]
/**
* <iframe> element may have the mozbrowser attribute.
*
* The mozbrowser attribute has no effect unless the <iframe> element is
* contained in a document privileged to create browser frames.
*
* An <iframe> element in a privileged document with the mozbrowser attribute
* emits a variety of events when various things happen inside the frame.
*
* This will be documented eventually, but for more information at the moment,
* see dom/browser-element/BrowserElement{Child,Parent}.js.
*
*/
attribute boolean mozbrowser;
pub unsafe fn SetMozbrowser(&self, aMozbrowser: bool) -> nsresult
[src]
/**
* <iframe> element may have the mozbrowser attribute.
*
* The mozbrowser attribute has no effect unless the <iframe> element is
* contained in a document privileged to create browser frames.
*
* An <iframe> element in a privileged document with the mozbrowser attribute
* emits a variety of events when various things happen inside the frame.
*
* This will be documented eventually, but for more information at the moment,
* see dom/browser-element/BrowserElement{Child,Parent}.js.
*
*/
attribute boolean mozbrowser;
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 nsIDOMMozBrowserFrame
[src]
const IID: nsIID
IID: nsIID = nsID(1286594838, 22555, 16788, [176, 222, 127, 2, 55, 143, 197, 29])
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 nsIDOMMozBrowserFrame
[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 nsIDOMMozBrowserFrame
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.