aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/MozRegisterComponents.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-07-24 03:55:18 +0800
committerChristian Persch <chpe@src.gnome.org>2006-07-24 03:55:18 +0800
commitff3e857464ce32f626e080f93ea66ce1b5c372e3 (patch)
treeaefe9124a3dad057d88f4061e4d3c7de8106221c /embed/mozilla/MozRegisterComponents.cpp
parent63e95001e7f36aa5833acea04643b52f8b70b765 (diff)
downloadgsoc2013-epiphany-ff3e857464ce32f626e080f93ea66ce1b5c372e3.tar
gsoc2013-epiphany-ff3e857464ce32f626e080f93ea66ce1b5c372e3.tar.gz
gsoc2013-epiphany-ff3e857464ce32f626e080f93ea66ce1b5c372e3.tar.bz2
gsoc2013-epiphany-ff3e857464ce32f626e080f93ea66ce1b5c372e3.tar.lz
gsoc2013-epiphany-ff3e857464ce32f626e080f93ea66ce1b5c372e3.tar.xz
gsoc2013-epiphany-ff3e857464ce32f626e080f93ea66ce1b5c372e3.tar.zst
gsoc2013-epiphany-ff3e857464ce32f626e080f93ea66ce1b5c372e3.zip
Implement nsIDOMCryptoDialogs, nsITokenDialogs and
2006-07-22 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSDialogs.h: * embed/mozilla/MozRegisterComponents.cpp: Implement nsIDOMCryptoDialogs, nsITokenDialogs and nsITokenPasswordDialogs. Bug #312869. * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: Add a helper function to get the DOM window off the native call context, to work around unavailable parent window in nsIDOMCryptoDialogs ( https://bugzilla.mozilla.org/show_bug.cgi?id=341914).
Diffstat (limited to 'embed/mozilla/MozRegisterComponents.cpp')
-rw-r--r--embed/mozilla/MozRegisterComponents.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/embed/mozilla/MozRegisterComponents.cpp b/embed/mozilla/MozRegisterComponents.cpp
index 86ce9fc21..64d5afc1a 100644
--- a/embed/mozilla/MozRegisterComponents.cpp
+++ b/embed/mozilla/MozRegisterComponents.cpp
@@ -185,6 +185,24 @@ static const nsModuleComponentInfo sAppComps[] = {
GtkNSSDialogsConstructor
},
{
+ GTK_NSSDIALOGS_CLASSNAME,
+ GTK_NSSDIALOGS_CID,
+ NS_DOMCRYPTODIALOGS_CONTRACTID,
+ GtkNSSDialogsConstructor
+ },
+ {
+ GTK_NSSDIALOGS_CLASSNAME,
+ GTK_NSSDIALOGS_CID,
+ NS_TOKENDIALOGS_CONTRACTID,
+ GtkNSSDialogsConstructor
+ },
+ {
+ GTK_NSSDIALOGS_CLASSNAME,
+ GTK_NSSDIALOGS_CID,
+ NS_TOKENPASSWORDSDIALOG_CONTRACTID,
+ GtkNSSDialogsConstructor
+ },
+ {
GTK_NSSKEYPAIRDIALOGS_CLASSNAME,
GTK_NSSKEYPAIRDIALOGS_CID,
NS_GENERATINGKEYPAIRINFODIALOGS_CONTRACTID,