Struct xpcom::interfaces::nsIToolkitChromeRegistry [] [src]

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

interface nsIToolkitChromeRegistry : nsIXULChromeRegistry

Methods

impl nsIToolkitChromeRegistry
[src]

[src]

Cast this nsIToolkitChromeRegistry to one of its base interfaces.

impl nsIToolkitChromeRegistry
[src]

[src]

/**
   * If the OS has a "high-visibility" or "disabled-friendly" theme set,
   * we want to force mozilla into the classic theme, which (for the most part
   * obeys the system color/font settings. We cannot do this at initialization,
   * because it depends on the toolkit (GTK2) being initialized, which is
   * not the case in some embedding situations. Embedders have to manually
   * call this method during the startup process.
   */

void checkForOSAccessibility ();

[src]

/**
   * Get a list of locales available for the specified package.
   */

nsIUTF8StringEnumerator getLocalesForPackage (in AUTF8String aPackage);

Methods from Deref<Target = nsIXULChromeRegistry>

[src]

Cast this nsIXULChromeRegistry to one of its base interfaces.

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

Trait Implementations

impl XpCom for nsIToolkitChromeRegistry
[src]

IID: nsIID = nsID(2267505948, 38192, 17824, [184, 30, 14, 6, 144, 195, 12, 80])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIToolkitChromeRegistry
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.