import "nsIChromeRegistry.idl";
Public Member Functions | |
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 | |
boolean | wrappersEnabled (in nsIURI aURI) |
returns whether XPCNativeWrappers are enabled for aURI. | |
Public Attributes | |
const PRInt32 | NONE = 0 |
const PRInt32 | PARTIAL = 1 |
const PRInt32 | FULL = 2 |
void nsIChromeRegistry::checkForNewChrome | ( | ) |
refresh the chrome list at runtime, looking for new packages/etc
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.
aChromeURL | the URL that is to be converted. |
returns whether XPCNativeWrappers are enabled for aURI.
const PRInt32 nsIChromeRegistry::FULL = 2 |
const PRInt32 nsIChromeRegistry::NONE = 0 |
const PRInt32 nsIChromeRegistry::PARTIAL = 1 |