nsDocShellCID.h (2409B)
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */ 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/. */ 6 7 #ifndef nsDocShellCID_h__ 8 #define nsDocShellCID_h__ 9 10 /** 11 * A contract that can be used to get a service that provides 12 * meta-information about nsIWebNavigation objects' capabilities. 13 * @implements nsIWebNavigationInfo 14 */ 15 #define NS_WEBNAVIGATION_INFO_CONTRACTID "@mozilla.org/webnavigation-info;1" 16 17 /** 18 * Contract ID to obtain the IHistory interface. This is a non-scriptable 19 * interface used to interact with history in an asynchronous manner. 20 */ 21 #define NS_IHISTORY_CONTRACTID "@mozilla.org/browser/history;1" 22 23 /** 24 * An observer service topic that can be listened to to catch creation 25 * of content browsing areas (both toplevel ones and subframes). The 26 * subject of the notification will be the nsIWebNavigation being 27 * created. At this time the additional data wstring is not defined 28 * to be anything in particular. 29 */ 30 #define NS_WEBNAVIGATION_CREATE "webnavigation-create" 31 32 /** 33 * An observer service topic that can be listened to to catch creation 34 * of chrome browsing areas (both toplevel ones and subframes). The 35 * subject of the notification will be the nsIWebNavigation being 36 * created. At this time the additional data wstring is not defined 37 * to be anything in particular. 38 */ 39 #define NS_CHROME_WEBNAVIGATION_CREATE "chrome-webnavigation-create" 40 41 /** 42 * An observer service topic that can be listened to to catch destruction 43 * of content browsing areas (both toplevel ones and subframes). The 44 * subject of the notification will be the nsIWebNavigation being 45 * destroyed. At this time the additional data wstring is not defined 46 * to be anything in particular. 47 */ 48 #define NS_WEBNAVIGATION_DESTROY "webnavigation-destroy" 49 50 /** 51 * An observer service topic that can be listened to to catch destruction 52 * of chrome browsing areas (both toplevel ones and subframes). The 53 * subject of the notification will be the nsIWebNavigation being 54 * destroyed. At this time the additional data wstring is not defined 55 * to be anything in particular. 56 */ 57 #define NS_CHROME_WEBNAVIGATION_DESTROY "chrome-webnavigation-destroy" 58 59 #endif // nsDocShellCID_h__