Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 /* -*- Mode: IDL; tab-width: 3; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #include "nsIURILoader.idl"
9 /*
10 nsCURILoader implements:
11 -------------------------
12 nsIURILoader
13 */
15 %{ C++
16 // {9F6D5D40-90E7-11d3-AF93-00A024FFC08C} -
17 #define NS_URI_LOADER_CID \
18 { 0x9f6d5d40, 0x90e7, 0x11d3, { 0xaf, 0x80, 0x00, 0xa0, 0x24, 0xff, 0xc0, 0x8c } }
19 #define NS_URI_LOADER_CONTRACTID \
20 "@mozilla.org/uriloader;1"
22 /* 057b04d0-0ccf-11d2-beba-00805f8a66dc */
23 #define NS_DOCUMENTLOADER_SERVICE_CID \
24 { 0x057b04d0, 0x0ccf, 0x11d2,{0xbe, 0xba, 0x00, 0x80, 0x5f, 0x8a, 0x66, 0xdc}}
26 #define NS_DOCUMENTLOADER_SERVICE_CONTRACTID \
27 "@mozilla.org/docloaderservice;1"
29 #define NS_CONTENT_HANDLER_CONTRACTID "@mozilla.org/uriloader/content-handler;1"
30 #define NS_CONTENT_HANDLER_CONTRACTID_PREFIX NS_CONTENT_HANDLER_CONTRACTID "?type="
32 /**
33 * A category where content listeners can register. The name of the entry must
34 * be the content that this listener wants to handle, the value must be a
35 * contract ID for the listener. It will be created using createInstance (not
36 * getService).
37 *
38 * Listeners added this way are tried after the initial target of the load and
39 * after explicitly registered listeners (nsIURILoader::registerContentListener).
40 *
41 * These listeners must implement at least nsIURIContentListener (and
42 * nsISupports).
43 *
44 * @see nsICategoryManager
45 * @see nsIURIContentListener
46 */
47 #define NS_CONTENT_LISTENER_CATEGORYMANAGER_ENTRY "external-uricontentlisteners"
49 %}