diff options
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; |