Logo Search packages:      
Sourcecode: xulrunner version File versions

nsIWebContentHandlerRegistrar Interface Reference

import "nsIWebContentHandlerRegistrar.idl";

Inheritance diagram for nsIWebContentHandlerRegistrar:

nsISupports

List of all members.


Detailed Description

nsIWebContentHandlerRegistrar

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.


Public Member Functions

void registerContentHandler (in DOMString mimeType, in DOMString uri, in DOMString title, in nsIDOMWindow contentWindow)
void registerProtocolHandler (in DOMString protocol, in DOMString uri, in DOMString title, in nsIDOMWindow contentWindow)
Methods
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

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

Generated by  Doxygen 1.6.0   Back to index