Logo Search packages:      
Sourcecode: xulrunner version File versions  Download package

nsIExternalProtocolService Interface Reference

import "nsIExternalProtocolService.idl";

Inheritance diagram for nsIExternalProtocolService:

nsISupports nsExternalHelperAppService

List of all members.

Detailed Description

The external protocol service is used for finding and launching web handlers (a la registerProtocolHandler in the HTML5 draft) or platform-specific applications for handling particular protocols.

You can ask the external protocol service if it has an external handler for a given protocol scheme. And you can ask it to load the url using the default handler.

Definition at line 59 of file nsIExternalProtocolService.idl.

Public Member Functions

boolean externalProtocolHandlerExists (in string aProtocolScheme)
AString getApplicationDescription (in AUTF8String aScheme)
nsIHandlerInfo getProtocolHandlerInfo (in ACString aProtocolScheme)
nsIHandlerInfo getProtocolHandlerInfoFromOS (in ACString aProtocolScheme, out boolean aFound)
boolean isExposedProtocol (in string aProtocolScheme)
void loadURI (in nsIURI aURI,[optional] in nsIInterfaceRequestor aWindowContext)
void loadUrl (in nsIURI aURL)
void setProtocolHandlerDefaults (in nsIHandlerInfo aHandlerInfo, in boolean aOSHandlerExists)
 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