diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-11-18 03:39:38 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-11-18 03:39:38 +0800 |
commit | 0b0f98a2a486cfa4257b017446bbe93f7e352d1e (patch) | |
tree | 63a8ded1cb955b4280041fed263acf29d5f55d4f /embed/mozilla/EphyBrowser.h | |
parent | 24619e355a9632293107bda10768b4b5bbc07e49 (diff) | |
download | gsoc2013-epiphany-0b0f98a2a486cfa4257b017446bbe93f7e352d1e.tar gsoc2013-epiphany-0b0f98a2a486cfa4257b017446bbe93f7e352d1e.tar.gz gsoc2013-epiphany-0b0f98a2a486cfa4257b017446bbe93f7e352d1e.tar.bz2 gsoc2013-epiphany-0b0f98a2a486cfa4257b017446bbe93f7e352d1e.tar.lz gsoc2013-epiphany-0b0f98a2a486cfa4257b017446bbe93f7e352d1e.tar.xz gsoc2013-epiphany-0b0f98a2a486cfa4257b017446bbe93f7e352d1e.tar.zst gsoc2013-epiphany-0b0f98a2a486cfa4257b017446bbe93f7e352d1e.zip |
Fix wrong certificate shown; Epiphany equivalent of galeon bug #158453.
2004-11-17 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/EphyBrowser.cpp:
* embed/mozilla/EphyBrowser.h:
* embed/mozilla/mozilla-embed.cpp:
Fix wrong certificate shown; Epiphany equivalent of galeon bug #158453.
Diffstat (limited to 'embed/mozilla/EphyBrowser.h')
-rw-r--r-- | embed/mozilla/EphyBrowser.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/embed/mozilla/EphyBrowser.h b/embed/mozilla/EphyBrowser.h index 76a5b6bfd..4a27ed106 100644 --- a/embed/mozilla/EphyBrowser.h +++ b/embed/mozilla/EphyBrowser.h @@ -39,7 +39,11 @@ #include <nsIRequest.h> #ifdef ALLOW_PRIVATE_API -#include "nsIContentViewer.h" +#include <nsIContentViewer.h> +#endif + +#ifdef HAVE_MOZILLA_PSM +#include <nsISecureBrowserUI.h> #endif class EphyEventListener : public nsIDOMEventListener @@ -134,8 +138,7 @@ public: nsresult GetHasModifiedForms (PRBool *modified); - nsresult SetSecurityInfo (nsIRequest *aRequest); - nsresult GetSecurityDescription (nsACString &aDescription); + nsresult GetSecurityInfo (PRUint32 *aState, nsACString &aDescription); nsresult ShowCertificate (); nsCOMPtr<nsIWebBrowser> mWebBrowser; @@ -144,7 +147,7 @@ private: nsCOMPtr<nsIDOMDocument> mTargetDocument; nsCOMPtr<nsIDOMEventTarget> mEventTarget; nsCOMPtr<nsIDOMWindow> mDOMWindow; - nsCOMPtr<nsISupports> mSecurityInfo; + nsCOMPtr<nsISecureBrowserUI> mSecurityInfo; EphyFaviconEventListener *mFaviconEventListener; EphyPopupBlockEventListener *mPopupBlockEventListener; EphyModalAlertEventListener *mModalAlertListener; |