nsIWebContentHandlerRegistrar
| IID: | e6a75410-c93e-42bf-84ca-a5c3ec34a2f1 |
| Inherits From: | nsISupports |
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.
This interface is implemented by the following components:
Methods
void registerContentHandler ( DOMString mimeType , DOMString uri , DOMString title , nsIDOMWindow contentWindow )
void registerProtocolHandler ( DOMString protocol , DOMString uri , DOMString title , nsIDOMWindow contentWindow )
void registerContentHandler ( DOMString mimeType , DOMString uri , DOMString title , 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.
- Arguments:
- mimeType
- uri
- title
- contentWindow
void registerProtocolHandler ( DOMString protocol , DOMString uri , DOMString title , nsIDOMWindow contentWindow )
- Arguments:
- protocol
- uri
- title
- contentWindow
Reference documentation is generated from Mozilla's source.
