Bug 1631939 [wpt PR 23152] - [EventTiming] Implement durationThreshold, a=testonly
[gecko.git] / docshell / build / nsDocShellCID.h
blobad7869eb4ae80e70798a39871e7ae0f2821f8e5f
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__
10 /**
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"
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.
21 #define NS_IHISTORY_CONTRACTID "@mozilla.org/browser/history;1"
23 /**
24 * A contract for a service that is used for finding
25 * platform-specific applications for handling particular URLs.
27 * @implements nsIExternalURLHandlerService
29 #define NS_EXTERNALURLHANDLERSERVICE_CONTRACTID \
30 "@mozilla.org/uriloader/external-url-handler-service;1"
32 /**
33 * An observer service topic that can be listened to to catch creation
34 * of content 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_WEBNAVIGATION_CREATE "webnavigation-create"
41 /**
42 * An observer service topic that can be listened to to catch creation
43 * of chrome browsing areas (both toplevel ones and subframes). The
44 * subject of the notification will be the nsIWebNavigation being
45 * created. At this time the additional data wstring is not defined
46 * to be anything in particular.
48 #define NS_CHROME_WEBNAVIGATION_CREATE "chrome-webnavigation-create"
50 /**
51 * An observer service topic that can be listened to to catch destruction
52 * of content 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_WEBNAVIGATION_DESTROY "webnavigation-destroy"
59 /**
60 * An observer service topic that can be listened to to catch destruction
61 * of chrome browsing areas (both toplevel ones and subframes). The
62 * subject of the notification will be the nsIWebNavigation being
63 * destroyed. At this time the additional data wstring is not defined
64 * to be anything in particular.
66 #define NS_CHROME_WEBNAVIGATION_DESTROY "chrome-webnavigation-destroy"
68 #endif // nsDocShellCID_h__