aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyUtils.h
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/EphyUtils.h
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/EphyUtils.h')
-rw-r--r--embed/mozilla/EphyUtils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed/mozilla/EphyUtils.h b/embed/mozilla/EphyUtils.h
index c19ae088f..64132f675 100644
--- a/embed/mozilla/EphyUtils.h
+++ b/embed/mozilla/EphyUtils.h
@@ -64,6 +64,8 @@ namespace EphyUtils
namespace EphyJSUtils
{
PRBool IsCalledFromScript ();
+
+ /* not addref'd! */ nsIDOMWindow* GetDOMWindowFromCallContext ();
}
#endif