docshell/build/nsDocShellCID.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
     2  * vim: sw=4 ts=4 sts=4
     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 #define NS_GLOBALHISTORY2_CONTRACTID \
    11     "@mozilla.org/browser/global-history;2"
    13 /**
    14  * A contract for a service that will track download history.  This can be
    15  * overridden by embedders if they would like to track additional information
    16  * about downloads.
    17  *
    18  * @implements nsIDownloadHistory
    19  */
    20 #define NS_DOWNLOADHISTORY_CONTRACTID \
    21     "@mozilla.org/browser/download-history;1"
    23 /**
    24  * A contract that can be used to get a service that provides
    25  * meta-information about nsIWebNavigation objects' capabilities.
    26  * @implements nsIWebNavigationInfo
    27  */
    28 #define NS_WEBNAVIGATION_INFO_CONTRACTID \
    29     "@mozilla.org/webnavigation-info;1"
    31 /**
    32  * Class and contract ID for the docshell.  This is the container for a web
    33  * navigation context.  It implements too many interfaces to count, and the
    34  * exact ones keep changing; if they stabilize somewhat that will get
    35  * documented.
    36  */
    37 #define NS_DOCSHELL_CID                                             \
    38     { 0xf1eac762, 0x87e9, 0x11d3,                                   \
    39       { 0xaf, 0x80, 0x00, 0xa0, 0x24, 0xff, 0xc0, 0x8c } }
    40 #define NS_DOCSHELL_CONTRACTID "@mozilla.org/docshell/html;1"
    42 /**
    43  * Contract ID to obtain the IHistory interface.  This is a non-scriptable
    44  * interface used to interact with history in an asynchronous manner.
    45  */
    46 #define NS_IHISTORY_CONTRACTID "@mozilla.org/browser/history;1"
    48 /**
    49  * A contract for a service that is used for finding
    50  * platform-specific applications for handling particular URLs.
    51  *
    52  * @implements nsIExternalURLHandlerService
    53  */
    54 #define NS_EXTERNALURLHANDLERSERVICE_CONTRACTID "@mozilla.org/uriloader/external-url-handler-service;1"
    56 /**
    57  * An observer service topic that can be listened to to catch creation
    58  * of content browsing areas (both toplevel ones and subframes).  The
    59  * subject of the notification will be the nsIWebNavigation being
    60  * created.  At this time the additional data wstring is not defined
    61  * to be anything in particular.
    62  */
    63 #define NS_WEBNAVIGATION_CREATE "webnavigation-create"
    65 /**
    66  * An observer service topic that can be listened to to catch creation
    67  * of chrome browsing areas (both toplevel ones and subframes).  The
    68  * subject of the notification will be the nsIWebNavigation being
    69  * created.  At this time the additional data wstring is not defined
    70  * to be anything in particular.
    71  */
    72 #define NS_CHROME_WEBNAVIGATION_CREATE "chrome-webnavigation-create"
    74 /**
    75  * An observer service topic that can be listened to to catch destruction
    76  * of content browsing areas (both toplevel ones and subframes).  The
    77  * subject of the notification will be the nsIWebNavigation being
    78  * destroyed.  At this time the additional data wstring is not defined
    79  * to be anything in particular.
    80  */
    81 #define NS_WEBNAVIGATION_DESTROY "webnavigation-destroy"
    83 /**
    84  * An observer service topic that can be listened to to catch destruction
    85  * of chrome browsing areas (both toplevel ones and subframes).  The
    86  * subject of the notification will be the nsIWebNavigation being
    87  * destroyed.  At this time the additional data wstring is not defined
    88  * to be anything in particular.
    89  */
    90 #define NS_CHROME_WEBNAVIGATION_DESTROY "chrome-webnavigation-destroy"
    92 #endif // nsDocShellCID_h__

mercurial