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/. */
7 #ifndef nsDocShellCID_h__
8 #define nsDocShellCID_h__
11 * A contract that can be used to get a service that provides
12 * meta-information about nsIWebNavigation objects' capabilities.
13 * @implements nsIWebNavigationInfo
15 #define NS_WEBNAVIGATION_INFO_CONTRACTID "@mozilla.org/webnavigation-info;1"
18 * Contract ID to obtain the IHistory interface. This is a non-scriptable
19 * interface used to interact with history in an asynchronous manner.
21 #define NS_IHISTORY_CONTRACTID "@mozilla.org/browser/history;1"
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.
30 #define NS_WEBNAVIGATION_CREATE "webnavigation-create"
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.
39 #define NS_CHROME_WEBNAVIGATION_CREATE "chrome-webnavigation-create"
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.
48 #define NS_WEBNAVIGATION_DESTROY "webnavigation-destroy"
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.
57 #define NS_CHROME_WEBNAVIGATION_DESTROY "chrome-webnavigation-destroy"
59 #endif // nsDocShellCID_h__