uriloader/exthandler/nsIExternalURLHandlerService.idl

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 /* This Source Code Form is subject to the terms of the Mozilla Public
     2  * License, v. 2.0. If a copy of the MPL was not distributed with this
     3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     5 #include "nsIMIMEInfo.idl"
     7 /**
     8  * The external URL handler service is used for finding
     9  * platform-specific applications for handling particular URLs.
    10  */
    12 [scriptable, uuid(56c5c7d3-6fd3-43f8-9429-4397e111453a)]
    13 interface nsIExternalURLHandlerService : nsISupports
    14 {
    15   /**
    16    * Given a URL, looks up the handler info from the OS. This should be
    17    * overridden by each OS's implementation.
    18    *
    19    * @param aURL The URL we are looking for.
    20    * @param aFound  Was an OS default handler for this URL found?
    21    * @return  An nsIHanderInfo for the protocol.
    22    */
    23   nsIHandlerInfo getURLHandlerInfoFromOS(in nsIURI aURL,
    24                                          out boolean aFound);
    26 };

mercurial