Struct xpcom::interfaces::nsIXULChromeRegistry [] [src]

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

interface nsIXULChromeRegistry : nsIChromeRegistry

Methods

impl nsIXULChromeRegistry
[src]

[src]

Cast this nsIXULChromeRegistry to one of its base interfaces.

impl nsIXULChromeRegistry
[src]

[src]

void reloadChrome ();

[src]

ACString getSelectedLocale (in ACString packageName, [optional] in boolean asBCP47);

[src]

boolean isLocaleRTL (in ACString package);

[src]

void refreshSkins ();

[src]

/**
   * Installable skin XBL is not always granted the same privileges as other
   * chrome. This asks the chrome registry whether scripts are allowed to be
   * run for a particular chrome URI. Do not pass non-chrome URIs to this
   * method.
   */

boolean allowScriptsForPackage (in nsIURI url);

[src]

/**
   * Content should only be allowed to load chrome JS from certain packages.
   * This method reflects the contentaccessible flag on packages.
   * Do not pass non-chrome URIs to this method.
   */

boolean allowContentToAccess (in nsIURI url);

[src]

/**
   * Returns true if the passed chrome URL is allowed to be loaded in a remote
   * process. This reflects the remoteenabled flag on packages.
   * Do not pass non-chrome URIs to this method.
   */

boolean canLoadURLRemotely (in nsIURI url);

[src]

/**
   * Returns true if the passed chrome URL must be loaded in a remote process.
   * This reflects the remoterequired flag on packages.
   * Do not pass non-chrome URIs to this method.
   */

boolean mustLoadURLRemotely (in nsIURI url);

Methods from Deref<Target = nsIChromeRegistry>

[src]

Cast this nsIChromeRegistry to one of its base interfaces.

[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);

Trait Implementations

impl XpCom for nsIXULChromeRegistry
[src]

IID: nsIID = nsID(2468683231, 24197, 16754, [172, 42, 49, 120, 5, 98, 151, 79])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIXULChromeRegistry
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.