michael@0: /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- michael@0: * vim: sw=4 ts=4 sts=4 michael@0: * This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef nsDocShellCID_h__ michael@0: #define nsDocShellCID_h__ michael@0: michael@0: #define NS_GLOBALHISTORY2_CONTRACTID \ michael@0: "@mozilla.org/browser/global-history;2" michael@0: michael@0: /** michael@0: * A contract for a service that will track download history. This can be michael@0: * overridden by embedders if they would like to track additional information michael@0: * about downloads. michael@0: * michael@0: * @implements nsIDownloadHistory michael@0: */ michael@0: #define NS_DOWNLOADHISTORY_CONTRACTID \ michael@0: "@mozilla.org/browser/download-history;1" michael@0: michael@0: /** michael@0: * A contract that can be used to get a service that provides michael@0: * meta-information about nsIWebNavigation objects' capabilities. michael@0: * @implements nsIWebNavigationInfo michael@0: */ michael@0: #define NS_WEBNAVIGATION_INFO_CONTRACTID \ michael@0: "@mozilla.org/webnavigation-info;1" michael@0: michael@0: /** michael@0: * Class and contract ID for the docshell. This is the container for a web michael@0: * navigation context. It implements too many interfaces to count, and the michael@0: * exact ones keep changing; if they stabilize somewhat that will get michael@0: * documented. michael@0: */ michael@0: #define NS_DOCSHELL_CID \ michael@0: { 0xf1eac762, 0x87e9, 0x11d3, \ michael@0: { 0xaf, 0x80, 0x00, 0xa0, 0x24, 0xff, 0xc0, 0x8c } } michael@0: #define NS_DOCSHELL_CONTRACTID "@mozilla.org/docshell/html;1" michael@0: michael@0: /** michael@0: * Contract ID to obtain the IHistory interface. This is a non-scriptable michael@0: * interface used to interact with history in an asynchronous manner. michael@0: */ michael@0: #define NS_IHISTORY_CONTRACTID "@mozilla.org/browser/history;1" michael@0: michael@0: /** michael@0: * A contract for a service that is used for finding michael@0: * platform-specific applications for handling particular URLs. michael@0: * michael@0: * @implements nsIExternalURLHandlerService michael@0: */ michael@0: #define NS_EXTERNALURLHANDLERSERVICE_CONTRACTID "@mozilla.org/uriloader/external-url-handler-service;1" michael@0: michael@0: /** michael@0: * An observer service topic that can be listened to to catch creation michael@0: * of content browsing areas (both toplevel ones and subframes). The michael@0: * subject of the notification will be the nsIWebNavigation being michael@0: * created. At this time the additional data wstring is not defined michael@0: * to be anything in particular. michael@0: */ michael@0: #define NS_WEBNAVIGATION_CREATE "webnavigation-create" michael@0: michael@0: /** michael@0: * An observer service topic that can be listened to to catch creation michael@0: * of chrome browsing areas (both toplevel ones and subframes). The michael@0: * subject of the notification will be the nsIWebNavigation being michael@0: * created. At this time the additional data wstring is not defined michael@0: * to be anything in particular. michael@0: */ michael@0: #define NS_CHROME_WEBNAVIGATION_CREATE "chrome-webnavigation-create" michael@0: michael@0: /** michael@0: * An observer service topic that can be listened to to catch destruction michael@0: * of content browsing areas (both toplevel ones and subframes). The michael@0: * subject of the notification will be the nsIWebNavigation being michael@0: * destroyed. At this time the additional data wstring is not defined michael@0: * to be anything in particular. michael@0: */ michael@0: #define NS_WEBNAVIGATION_DESTROY "webnavigation-destroy" michael@0: michael@0: /** michael@0: * An observer service topic that can be listened to to catch destruction michael@0: * of chrome browsing areas (both toplevel ones and subframes). The michael@0: * subject of the notification will be the nsIWebNavigation being michael@0: * destroyed. At this time the additional data wstring is not defined michael@0: * to be anything in particular. michael@0: */ michael@0: #define NS_CHROME_WEBNAVIGATION_DESTROY "chrome-webnavigation-destroy" michael@0: michael@0: #endif // nsDocShellCID_h__