diff options
author | Christian Persch <chpe@src.gnome.org> | 2008-03-10 03:48:04 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2008-03-10 03:48:04 +0800 |
commit | 777d98fa52496bd7d1e993bcab7a84b2b98417db (patch) | |
tree | 314f6c0915d67552038a127094b89817d9977c4a /embed/mozilla/MozRegisterComponents.cpp | |
parent | f2c11cf41dbe3bce6cf1fa29bc5b8874242f3c17 (diff) | |
download | gsoc2013-epiphany-777d98fa52496bd7d1e993bcab7a84b2b98417db.tar gsoc2013-epiphany-777d98fa52496bd7d1e993bcab7a84b2b98417db.tar.gz gsoc2013-epiphany-777d98fa52496bd7d1e993bcab7a84b2b98417db.tar.bz2 gsoc2013-epiphany-777d98fa52496bd7d1e993bcab7a84b2b98417db.tar.lz gsoc2013-epiphany-777d98fa52496bd7d1e993bcab7a84b2b98417db.tar.xz gsoc2013-epiphany-777d98fa52496bd7d1e993bcab7a84b2b98417db.tar.zst gsoc2013-epiphany-777d98fa52496bd7d1e993bcab7a84b2b98417db.zip |
Add stub impl of nsILoginManagerPrompter.
svn path=/branches/gnome-2-22/; revision=8075
Diffstat (limited to 'embed/mozilla/MozRegisterComponents.cpp')
-rw-r--r-- | embed/mozilla/MozRegisterComponents.cpp | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/embed/mozilla/MozRegisterComponents.cpp b/embed/mozilla/MozRegisterComponents.cpp index 3960052bf..838bbf69c 100644 --- a/embed/mozilla/MozRegisterComponents.cpp +++ b/embed/mozilla/MozRegisterComponents.cpp @@ -77,6 +77,10 @@ #include "GeckoFormSigningDialog.h" #endif +#ifdef HAVE_GECKO_1_9 +#include "EphyLoginPrompter.h" +#endif + NS_GENERIC_FACTORY_CONSTRUCTOR(EphyAboutModule) NS_GENERIC_FACTORY_CONSTRUCTOR(EphyContentPolicy) NS_GENERIC_FACTORY_CONSTRUCTOR(EphyPromptService) @@ -104,6 +108,10 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(GtkNSSSecurityWarningDialogs) NS_GENERIC_FACTORY_CONSTRUCTOR(GeckoFormSigningDialog) #endif +#ifdef HAVE_GECKO_1_9 +NS_GENERIC_FACTORY_CONSTRUCTOR(EphyLoginPrompter) +#endif + #define XPINSTALL_CONTRACTID NS_CONTENT_HANDLER_CONTRACTID_PREFIX "application/x-xpinstall" /* class information */ @@ -278,7 +286,15 @@ static const nsModuleComponentInfo sAppComps[] = { EPHY_COOKIEPROMPTSERVICE_CID, EPHY_COOKIEPROMPTSERVICE_CONTRACTID, GeckoCookiePromptServiceConstructor - } + }, +#ifdef HAVE_GECKO_1_9 + { + EPHY_LOGIN_PROMPTER_CLASSNAME, + EPHY_LOGIN_PROMPTER_CID, + NS_LOGINMANAGERPROMPTER_CONTRACTID, + EphyLoginPrompterConstructor + } +#endif }; gboolean |