Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIXULChromeRegistry Interface Reference

import "nsIChromeRegistry.idl";

Inheritance diagram for nsIXULChromeRegistry:
Inheritance graph
[legend]
Collaboration diagram for nsIXULChromeRegistry:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void reloadChrome ()
ACString getSelectedLocale (in ACString packageName)
void refreshSkins ()
boolean allowScriptsForPackage (in nsIURI url)
 Installable skin XBL is not always granted the same privileges as other chrome.
nsIURI convertChromeURL (in nsIURI aChromeURL)
 Resolve a chrome URL to an loadable URI using the information in the registry.
void checkForNewChrome ()
 refresh the chrome list at runtime, looking for new packages/etc

Public Attributes

const PRInt32 NONE = 0
const PRInt32 PARTIAL = 1
const PRInt32 FULL = 2

Detailed Description

Definition at line 79 of file nsIChromeRegistry.idl.


Member Function Documentation

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.

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

nsIURI nsIChromeRegistry::convertChromeURL ( in nsIURI  aChromeURL) [inherited]

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.

Parameters:
aChromeURLthe URL that is to be converted.
ACString nsIXULChromeRegistry::getSelectedLocale ( in ACString  packageName)

Member Data Documentation

Definition at line 51 of file nsIChromeRegistry.idl.

Definition at line 49 of file nsIChromeRegistry.idl.

Definition at line 50 of file nsIChromeRegistry.idl.


The documentation for this interface was generated from the following file: