Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
[gecko.git] / embedding / nsEmbedCID.h
blob57dc4b453fbd320fe559de377e9a7b7f9192f533
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 \
28 "@mozilla.org/embedding/browser/nsWebBrowser;1"
30 /**
31 * Prompt Service ContractID
32 * The prompt service (which can be gotten by calling getServiceByContractID
33 * on this ContractID) is the way to pose various prompts, alerts,
34 * and confirmation dialogs to the user.
36 * This contract implements the following interfaces:
37 * nsIPromptService
38 * nsIPromptService2 (optional)
40 * Embedders may override this ContractID with their own implementation if they
41 * want more control over the way prompts, alerts, and confirmation dialogs are
42 * presented to the user.
44 #define NS_PROMPTSERVICE_CONTRACTID \
45 "@mozilla.org/embedcomp/prompt-service;1"
47 /**
48 * This contract ID should be implemented by password managers to be able to
49 * override the standard implementation of nsIAuthPrompt2. It will be used as
50 * a service.
52 * This contract implements the following interfaces:
53 * nsIPromptFactory
55 #define NS_PWMGR_AUTHPROMPTFACTORY \
56 "@mozilla.org/passwordmanager/authpromptfactory;1"
58 #endif // NSEMBEDCID_H