Backed out changeset b06f19b95b94 (bug 1784438) for causing build bustages CLOSED...
[gecko.git] / toolkit / components / browser / nsEmbedCID.h
blob126bb43b0a9c7c415c835dc3d5d20153894d7194
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef NSEMBEDCID_H
6 #define NSEMBEDCID_H
8 /**
9 * @file
10 * @brief List of, and documentation for, frozen Gecko embedding contracts.
13 /**
14 * Web Browser ContractID
15 * Creating an instance of this ContractID (via createInstanceByContractID)
16 * is the basic way to instantiate a Gecko browser.
18 * This contract implements the following interfaces:
19 * nsIWebBrowser
20 * nsIWebBrowserSetup
21 * nsIInterfaceRequestor
23 * @note This contract does not guarantee implementation of any other
24 * interfaces and does not guarantee ability to get any particular
25 * interfaces via the nsIInterfaceRequestor implementation.
27 #define NS_WEBBROWSER_CONTRACTID "@mozilla.org/embedding/browser/nsWebBrowser;1"
29 /**
30 * Prompt Service ContractID
31 * The prompt service (which can be gotten by calling getServiceByContractID
32 * on this ContractID) is the way to pose various prompts, alerts,
33 * and confirmation dialogs to the user.
35 * This contract implements the following interfaces:
36 * nsIPromptService
38 * Embedders may override this ContractID with their own implementation if they
39 * want more control over the way prompts, alerts, and confirmation dialogs are
40 * presented to the user.
42 #define NS_PROMPTSERVICE_CONTRACTID "@mozilla.org/prompter;1"
44 #endif // NSEMBEDCID_H