Struct xpcom::interfaces::nsIChromeRegistry
[−]
[src]
#[repr(C)]pub struct nsIChromeRegistry { /* fields omitted */ }
interface nsIChromeRegistry : nsISupports
Methods
impl nsIChromeRegistry
[src]
pub fn coerce<T: nsIChromeRegistryCoerce>(&self) -> &T
[src]
Cast this nsIChromeRegistry
to one of its base interfaces.
impl nsIChromeRegistry
[src]
pub const NONE: i64
NONE: i64 = 0
pub const PARTIAL: i64
PARTIAL: i64 = 1
pub const FULL: i64
FULL: i64 = 2
pub unsafe fn ConvertChromeURL(
&self,
aChromeURL: *const nsIURI,
_retval: *mut *const nsIURI
) -> nsresult
[src]
&self,
aChromeURL: *const nsIURI,
_retval: *mut *const nsIURI
) -> nsresult
/**
* Resolve a chrome URL to an loadable URI using the information in the
* registry. Does not modify aChromeURL.
*
* Chrome URLs are allowed to be specified in "shorthand", leaving the
* "file" portion off. In that case, the URL is expanded to:
*
* chrome://package/provider/package.ext
*
* where "ext" is:
*
* "xul" for a "content" package,
* "css" for a "skin" package, and
* "dtd" for a "locale" package.
*
* @param aChromeURL the URL that is to be converted.
*/
nsIURI convertChromeURL (in nsIURI aChromeURL);
pub unsafe fn CheckForNewChrome(&self) -> nsresult
[src]
/**
* refresh the chrome list at runtime, looking for new packages/etc
*/
void checkForNewChrome ();
pub unsafe fn WrappersEnabled(&self, aURI: *const nsIURI) -> bool
[src]
/**
* returns whether XPCNativeWrappers are enabled for aURI.
*/
[notxpcom] boolean wrappersEnabled (in nsIURI aURI);
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 nsIChromeRegistry
[src]
const IID: nsIID
IID: nsIID = nsID(614446509, 44585, 20012, [167, 40, 186, 92, 244, 100, 209, 136])
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 nsIChromeRegistry
[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 nsIChromeRegistry
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.