Struct xpcom::interfaces::nsIChromeRegistry [] [src]

#[repr(C)]
pub struct nsIChromeRegistry { /* fields omitted */ }

interface nsIChromeRegistry : nsISupports

Methods

impl nsIChromeRegistry
[src]

[src]

Cast this nsIChromeRegistry to one of its base interfaces.

impl nsIChromeRegistry
[src]

NONE: i64 = 0

PARTIAL: i64 = 1

FULL: i64 = 2

[src]

/**
   * 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);

[src]

/**
   * refresh the chrome list at runtime, looking for new packages/etc
   */

void checkForNewChrome ();

[src]

/**
   * returns whether XPCNativeWrappers are enabled for aURI.
   */

[notxpcom] boolean wrappersEnabled (in nsIURI aURI);

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIChromeRegistry
[src]

IID: nsIID = nsID(614446509, 44585, 20012, [167, 40, 186, 92, 244, 100, 209, 136])

[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]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIChromeRegistry
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.