Struct xpcom::interfaces::nsIContentProcessInfo
[−]
[src]
#[repr(C)]pub struct nsIContentProcessInfo { /* fields omitted */ }
interface nsIContentProcessInfo : nsISupports
Methods
impl nsIContentProcessInfo
[src]
pub fn coerce<T: nsIContentProcessInfoCoerce>(&self) -> &T
[src]
Cast this nsIContentProcessInfo
to one of its base interfaces.
impl nsIContentProcessInfo
[src]
pub unsafe fn GetIsAlive(&self, aIsAlive: *mut bool) -> nsresult
[src]
/**
* Is this content process alive?
*/
readonly attribute boolean isAlive;
pub unsafe fn GetProcessId(&self, aProcessId: *mut int32_t) -> nsresult
[src]
/**
* The content process's PID.
* Throws if the process is not alive.
*/
readonly attribute int32_t processId;
pub unsafe fn GetOpener(
&self,
aOpener: *mut *const nsIContentProcessInfo
) -> nsresult
[src]
&self,
aOpener: *mut *const nsIContentProcessInfo
) -> nsresult
/**
* This content process's opener.
*/
readonly attribute nsIContentProcessInfo opener;
pub unsafe fn GetTabCount(&self, aTabCount: *mut int32_t) -> nsresult
[src]
/**
* Number of opened tabs living in this content process.
*/
readonly attribute int32_t tabCount;
pub unsafe fn GetMessageManager(
&self,
aMessageManager: *mut *const nsIMessageSender
) -> nsresult
[src]
&self,
aMessageManager: *mut *const nsIMessageSender
) -> nsresult
/**
* The process manager for this ContentParent (so a process message manager
* as opposed to a frame message manager.
*/
readonly attribute nsIMessageSender messageManager;
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 nsIContentProcessInfo
[src]
const IID: nsIID
IID: nsIID = nsID(1164925118, 10717, 18803, [136, 91, 149, 174, 206, 28, 154, 138])
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 nsIContentProcessInfo
[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 nsIContentProcessInfo
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.