Public Member Functions | Public Attributes

nsIChromeRegistry Interface Reference

import "nsIChromeRegistry.idl";

Inheritance diagram for nsIChromeRegistry:

List of all members.

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

Member Function Documentation

void nsIChromeRegistry::checkForNewChrome (  ) 

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

nsIURI nsIChromeRegistry::convertChromeURL ( in nsIURI  aChromeURL  ) 

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:
aChromeURL the URL that is to be converted.
boolean nsIChromeRegistry::wrappersEnabled ( in nsIURI  aURI  ) 

returns whether XPCNativeWrappers are enabled for aURI.


Member Data Documentation

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

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