bug 494645 - new "-r" option to the dis function disassemble recursively. r=mrbkap
[mozilla-central.git] / docshell / build / nsDocShellCID.h
blobfc501af2a337e1c0344b638e938741a2e446327d
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 * vim: sw=4 ts=4 sts=4
3 * ***** BEGIN LICENSE BLOCK *****
4 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
6 * The contents of this file are subject to the Mozilla Public License Version
7 * 1.1 (the "License"); you may not use this file except in compliance with
8 * the License. You may obtain a copy of the License at
9 * http://www.mozilla.org/MPL/
11 * Software distributed under the License is distributed on an "AS IS" basis,
12 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 * for the specific language governing rights and limitations under the
14 * License.
16 * The Original Code is the Mozilla gecko engine.
18 * The Initial Developer of the Original Code is
19 * Benjamin Smedberg <bsmedberg@covad.net>.
20 * Portions created by the Initial Developer are Copyright (C) 2004
21 * the Initial Developer. All Rights Reserved.
23 * Contributor(s):
25 * Alternatively, the contents of this file may be used under the terms of
26 * either the GNU General Public License Version 2 or later (the "GPL"), or
27 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 * in which case the provisions of the GPL or the LGPL are applicable instead
29 * of those above. If you wish to allow use of your version of this file only
30 * under the terms of either the GPL or the LGPL, and not to allow others to
31 * use your version of this file under the terms of the MPL, indicate your
32 * decision by deleting the provisions above and replace them with the notice
33 * and other provisions required by the GPL or the LGPL. If you do not delete
34 * the provisions above, a recipient may use your version of this file under
35 * the terms of any one of the MPL, the GPL or the LGPL.
37 * ***** END LICENSE BLOCK ***** */
39 #ifndef nsDocShellCID_h__
40 #define nsDocShellCID_h__
42 #define NS_GLOBALHISTORY2_CONTRACTID \
43 "@mozilla.org/browser/global-history;2"
45 /**
46 * A contract for a service that will track download history. This can be
47 * overridden by embedders if they would like to track additional information
48 * about downloads.
50 * @implements nsIDownloadHistory
52 #define NS_DOWNLOADHISTORY_CONTRACTID \
53 "@mozilla.org/browser/download-history;1"
55 /**
56 * A contract that can be used to get a service that provides
57 * meta-information about nsIWebNavigation objects' capabilities.
58 * @implements nsIWebNavigationInfo
60 #define NS_WEBNAVIGATION_INFO_CONTRACTID \
61 "@mozilla.org/webnavigation-info;1"
63 /**
64 * Contract ID for a service implementing nsIURIClassifier that identifies
65 * phishing and malware sites.
67 #define NS_URICLASSIFIERSERVICE_CONTRACTID "@mozilla.org/uriclassifierservice"
69 /**
70 * Class and contract ID for an nsIChannelClassifier implementation for
71 * checking a channel load against the URI classifier service.
73 #define NS_CHANNELCLASSIFIER_CID \
74 { 0xce02d538, 0x0217, 0x47a3,{0xa5, 0x89, 0xb5, 0x17, 0x90, 0xfd, 0xd8, 0xce}}
76 #define NS_CHANNELCLASSIFIER_CONTRACTID "@mozilla.org/channelclassifier"
78 /**
79 * Class and contract ID for the docshell. This is the container for a web
80 * navigation context. It implements too many interfaces to count, and the
81 * exact ones keep changing; if they stabilize somewhat that will get
82 * documented.
84 #define NS_DOCSHELL_CID \
85 { 0xf1eac762, 0x87e9, 0x11d3, \
86 { 0xaf, 0x80, 0x00, 0xa0, 0x24, 0xff, 0xc0, 0x8c } }
87 #define NS_DOCSHELL_CONTRACTID "@mozilla.org/docshell/html;1"
91 /**
92 * An observer service topic that can be listened to to catch creation
93 * of content browsing areas (both toplevel ones and subframes). The
94 * subject of the notification will be the nsIWebNavigation being
95 * created. At this time the additional data wstring is not defined
96 * to be anything in particular.
98 #define NS_WEBNAVIGATION_CREATE "webnavigation-create"
101 * An observer service topic that can be listened to to catch creation
102 * of chrome browsing areas (both toplevel ones and subframes). The
103 * subject of the notification will be the nsIWebNavigation being
104 * created. At this time the additional data wstring is not defined
105 * to be anything in particular.
107 #define NS_CHROME_WEBNAVIGATION_CREATE "chrome-webnavigation-create"
110 * An observer service topic that can be listened to to catch destruction
111 * of content browsing areas (both toplevel ones and subframes). The
112 * subject of the notification will be the nsIWebNavigation being
113 * destroyed. At this time the additional data wstring is not defined
114 * to be anything in particular.
116 #define NS_WEBNAVIGATION_DESTROY "webnavigation-destroy"
119 * An observer service topic that can be listened to to catch destruction
120 * of chrome browsing areas (both toplevel ones and subframes). The
121 * subject of the notification will be the nsIWebNavigation being
122 * destroyed. At this time the additional data wstring is not defined
123 * to be anything in particular.
125 #define NS_CHROME_WEBNAVIGATION_DESTROY "chrome-webnavigation-destroy"
127 #endif // nsDocShellCID_h__