Interface nsIChromeRegistryType

Hierarchy

Methods

  • Increases the reference count for this interface. The associated instance will not be deleted unless the reference count is returned to zero.

    Returns

    The resulting reference count.

    Returns number

  • Parameters

    • aIID: object
    • Optional aInstancePtr: object

    Returns any

  • A run time mechanism for interface discovery.

    Returns

    NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.

    aInstancePtr must not be null.

    Parameters

    • aIID: object

      [in] A requested interface IID

    • aInstancePtr: object

      [out] A pointer to an interface pointer to receive the result.

    Returns void

  • Decreases the reference count for this interface. Generally, if the reference count returns to zero, the associated instance is deleted.

    Returns

    The resulting reference count.

    Returns number

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

    Returns void

  • 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: nsIURI

      the URL that is to be converted.

    Returns nsIURI

Generated using TypeDoc