Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIWebContentHandlerRegistrar Interface Reference

nsIWebContentHandlerRegistrar More...

import "nsIWebContentHandlerRegistrar.idl";

Inheritance diagram for nsIWebContentHandlerRegistrar:
Inheritance graph
[legend]
Collaboration diagram for nsIWebContentHandlerRegistrar:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void registerContentHandler (in DOMString mimeType, in DOMString uri, in DOMString title, in nsIDOMWindow contentWindow)
 See documentation in nsIDOMClientInformation.idl The additional contentWindow param for both methods represents the dom content window from which the method has been called.
void registerProtocolHandler (in DOMString protocol, in DOMString uri, in DOMString title, in nsIDOMWindow contentWindow)

Detailed Description

nsIWebContentHandlerRegistrar

Embedding applications wishing to use web content handlers need to implement this interface. Typically they will prompt the user to confirm adding an entry to the local list.

The component must have the contract id defined below so that nsNavigator can invoke it.

Definition at line 55 of file nsIWebContentHandlerRegistrar.idl.


Member Function Documentation

void nsIWebContentHandlerRegistrar::registerContentHandler ( in DOMString  mimeType,
in DOMString  uri,
in DOMString  title,
in nsIDOMWindow  contentWindow 
)

See documentation in nsIDOMClientInformation.idl The additional contentWindow param for both methods represents the dom content window from which the method has been called.

void nsIWebContentHandlerRegistrar::registerProtocolHandler ( in DOMString  protocol,
in DOMString  uri,
in DOMString  title,
in nsIDOMWindow  contentWindow 
)

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