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/. */
10 * @brief List of, and documentation for, frozen Gecko embedding contracts.
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:
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"
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:
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