WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIChromeRegistry

IID:68389281-f6d0-4533-841d-344a2018140c
Inherits From:nsISupports

This interface is implemented by the following components:


Constants

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

Methods

void checkForNewChrome ( ) nsIURI convertChromeURL ( nsIURI chromeURL )

void checkForNewChrome ( )

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


nsIURI convertChromeURL ( nsIURI chromeURL )

Resolve a chrome URL to an loadable URI using the information in the registry. Does not modify chromeURL.

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.

Arguments:
chromeURL: the URL that is to be converted.

Reference documentation is generated from Mozilla's source.