aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/MozRegisterComponents.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2007-03-12 20:47:10 +0800
committerChristian Persch <chpe@src.gnome.org>2007-03-12 20:47:10 +0800
commit44bce1ab7d508b27cb8471bfbda15733752f81f8 (patch)
tree6b7bbc63dc807da574162b8bb9b42fae907e08a5 /embed/mozilla/MozRegisterComponents.cpp
parent5754e9de9cbbf108eb28b28b609bfe95092afbc3 (diff)
downloadgsoc2013-epiphany-44bce1ab7d508b27cb8471bfbda15733752f81f8.tar
gsoc2013-epiphany-44bce1ab7d508b27cb8471bfbda15733752f81f8.tar.gz
gsoc2013-epiphany-44bce1ab7d508b27cb8471bfbda15733752f81f8.tar.bz2
gsoc2013-epiphany-44bce1ab7d508b27cb8471bfbda15733752f81f8.tar.lz
gsoc2013-epiphany-44bce1ab7d508b27cb8471bfbda15733752f81f8.tar.xz
gsoc2013-epiphany-44bce1ab7d508b27cb8471bfbda15733752f81f8.tar.zst
gsoc2013-epiphany-44bce1ab7d508b27cb8471bfbda15733752f81f8.zip
Implement nsICookiePromptService. Bug #337826.
2007-03-12 Christian Persch <chpe@gnome.org> * embed/mozilla/GeckoCookiePromptService.cpp: * embed/mozilla/GeckoCookiePromptService.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: Implement nsICookiePromptService. Bug #337826. svn path=/trunk/; revision=6961
Diffstat (limited to 'embed/mozilla/MozRegisterComponents.cpp')
-rw-r--r--embed/mozilla/MozRegisterComponents.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/embed/mozilla/MozRegisterComponents.cpp b/embed/mozilla/MozRegisterComponents.cpp
index 05b2d1a6a..e712bbc5d 100644
--- a/embed/mozilla/MozRegisterComponents.cpp
+++ b/embed/mozilla/MozRegisterComponents.cpp
@@ -55,6 +55,7 @@
#include "EphyContentPolicy.h"
#include "EphyPromptService.h"
#include "EphySidebar.h"
+#include "GeckoCookiePromptService.h"
#include "GeckoPrintService.h"
#include "GeckoPrintSession.h"
#include "GlobalHistory.h"
@@ -81,6 +82,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(EphyContentPolicy)
NS_GENERIC_FACTORY_CONSTRUCTOR(EphyPromptService)
NS_GENERIC_FACTORY_CONSTRUCTOR(EphySidebar)
NS_GENERIC_FACTORY_CONSTRUCTOR(GContentHandler)
+NS_GENERIC_FACTORY_CONSTRUCTOR(GeckoCookiePromptService)
NS_GENERIC_FACTORY_CONSTRUCTOR(GeckoPrintService)
NS_GENERIC_FACTORY_CONSTRUCTOR(GeckoPrintSession)
NS_GENERIC_FACTORY_CONSTRUCTOR(MozDownload)
@@ -267,8 +269,14 @@ static const nsModuleComponentInfo sAppComps[] = {
GECKO_SPELL_CHECK_ENGINE_IID,
GECKO_SPELL_CHECK_ENGINE_CONTRACTID,
GeckoSpellCheckEngineConstructor
- }
+ },
#endif /* ENABLE_SPELLCHECK */
+ {
+ EPHY_COOKIEPROMPTSERVICE_CLASSNAME,
+ EPHY_COOKIEPROMPTSERVICE_CID,
+ EPHY_COOKIEPROMPTSERVICE_CONTRACTID,
+ GeckoCookiePromptServiceConstructor
+ }
};
gboolean