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.
michael@0 | 1 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- |
michael@0 | 2 | * vim: sw=4 ts=4 sts=4 |
michael@0 | 3 | * This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 6 | |
michael@0 | 7 | #ifndef nsDocShellCID_h__ |
michael@0 | 8 | #define nsDocShellCID_h__ |
michael@0 | 9 | |
michael@0 | 10 | #define NS_GLOBALHISTORY2_CONTRACTID \ |
michael@0 | 11 | "@mozilla.org/browser/global-history;2" |
michael@0 | 12 | |
michael@0 | 13 | /** |
michael@0 | 14 | * A contract for a service that will track download history. This can be |
michael@0 | 15 | * overridden by embedders if they would like to track additional information |
michael@0 | 16 | * about downloads. |
michael@0 | 17 | * |
michael@0 | 18 | * @implements nsIDownloadHistory |
michael@0 | 19 | */ |
michael@0 | 20 | #define NS_DOWNLOADHISTORY_CONTRACTID \ |
michael@0 | 21 | "@mozilla.org/browser/download-history;1" |
michael@0 | 22 | |
michael@0 | 23 | /** |
michael@0 | 24 | * A contract that can be used to get a service that provides |
michael@0 | 25 | * meta-information about nsIWebNavigation objects' capabilities. |
michael@0 | 26 | * @implements nsIWebNavigationInfo |
michael@0 | 27 | */ |
michael@0 | 28 | #define NS_WEBNAVIGATION_INFO_CONTRACTID \ |
michael@0 | 29 | "@mozilla.org/webnavigation-info;1" |
michael@0 | 30 | |
michael@0 | 31 | /** |
michael@0 | 32 | * Class and contract ID for the docshell. This is the container for a web |
michael@0 | 33 | * navigation context. It implements too many interfaces to count, and the |
michael@0 | 34 | * exact ones keep changing; if they stabilize somewhat that will get |
michael@0 | 35 | * documented. |
michael@0 | 36 | */ |
michael@0 | 37 | #define NS_DOCSHELL_CID \ |
michael@0 | 38 | { 0xf1eac762, 0x87e9, 0x11d3, \ |
michael@0 | 39 | { 0xaf, 0x80, 0x00, 0xa0, 0x24, 0xff, 0xc0, 0x8c } } |
michael@0 | 40 | #define NS_DOCSHELL_CONTRACTID "@mozilla.org/docshell/html;1" |
michael@0 | 41 | |
michael@0 | 42 | /** |
michael@0 | 43 | * Contract ID to obtain the IHistory interface. This is a non-scriptable |
michael@0 | 44 | * interface used to interact with history in an asynchronous manner. |
michael@0 | 45 | */ |
michael@0 | 46 | #define NS_IHISTORY_CONTRACTID "@mozilla.org/browser/history;1" |
michael@0 | 47 | |
michael@0 | 48 | /** |
michael@0 | 49 | * A contract for a service that is used for finding |
michael@0 | 50 | * platform-specific applications for handling particular URLs. |
michael@0 | 51 | * |
michael@0 | 52 | * @implements nsIExternalURLHandlerService |
michael@0 | 53 | */ |
michael@0 | 54 | #define NS_EXTERNALURLHANDLERSERVICE_CONTRACTID "@mozilla.org/uriloader/external-url-handler-service;1" |
michael@0 | 55 | |
michael@0 | 56 | /** |
michael@0 | 57 | * An observer service topic that can be listened to to catch creation |
michael@0 | 58 | * of content browsing areas (both toplevel ones and subframes). The |
michael@0 | 59 | * subject of the notification will be the nsIWebNavigation being |
michael@0 | 60 | * created. At this time the additional data wstring is not defined |
michael@0 | 61 | * to be anything in particular. |
michael@0 | 62 | */ |
michael@0 | 63 | #define NS_WEBNAVIGATION_CREATE "webnavigation-create" |
michael@0 | 64 | |
michael@0 | 65 | /** |
michael@0 | 66 | * An observer service topic that can be listened to to catch creation |
michael@0 | 67 | * of chrome browsing areas (both toplevel ones and subframes). The |
michael@0 | 68 | * subject of the notification will be the nsIWebNavigation being |
michael@0 | 69 | * created. At this time the additional data wstring is not defined |
michael@0 | 70 | * to be anything in particular. |
michael@0 | 71 | */ |
michael@0 | 72 | #define NS_CHROME_WEBNAVIGATION_CREATE "chrome-webnavigation-create" |
michael@0 | 73 | |
michael@0 | 74 | /** |
michael@0 | 75 | * An observer service topic that can be listened to to catch destruction |
michael@0 | 76 | * of content browsing areas (both toplevel ones and subframes). The |
michael@0 | 77 | * subject of the notification will be the nsIWebNavigation being |
michael@0 | 78 | * destroyed. At this time the additional data wstring is not defined |
michael@0 | 79 | * to be anything in particular. |
michael@0 | 80 | */ |
michael@0 | 81 | #define NS_WEBNAVIGATION_DESTROY "webnavigation-destroy" |
michael@0 | 82 | |
michael@0 | 83 | /** |
michael@0 | 84 | * An observer service topic that can be listened to to catch destruction |
michael@0 | 85 | * of chrome browsing areas (both toplevel ones and subframes). The |
michael@0 | 86 | * subject of the notification will be the nsIWebNavigation being |
michael@0 | 87 | * destroyed. At this time the additional data wstring is not defined |
michael@0 | 88 | * to be anything in particular. |
michael@0 | 89 | */ |
michael@0 | 90 | #define NS_CHROME_WEBNAVIGATION_DESTROY "chrome-webnavigation-destroy" |
michael@0 | 91 | |
michael@0 | 92 | #endif // nsDocShellCID_h__ |