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.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com