diff options
author | Christian Persch <chpe@src.gnome.org> | 2008-03-13 05:38:55 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2008-03-13 05:38:55 +0800 |
commit | fdffd322181be333e39c2a039e37295587cf3284 (patch) | |
tree | 5f90f0b38e4ff1e91e87b4d38e43080b5bb022c2 /embed/mozilla/EphyPromptService.h | |
parent | 40174913b001abad51dd5a4d4c0ce142b0ace2f9 (diff) | |
download | gsoc2013-epiphany-fdffd322181be333e39c2a039e37295587cf3284.tar gsoc2013-epiphany-fdffd322181be333e39c2a039e37295587cf3284.tar.gz gsoc2013-epiphany-fdffd322181be333e39c2a039e37295587cf3284.tar.bz2 gsoc2013-epiphany-fdffd322181be333e39c2a039e37295587cf3284.tar.lz gsoc2013-epiphany-fdffd322181be333e39c2a039e37295587cf3284.tar.xz gsoc2013-epiphany-fdffd322181be333e39c2a039e37295587cf3284.tar.zst gsoc2013-epiphany-fdffd322181be333e39c2a039e37295587cf3284.zip |
Try again to fix the directory provider for 1.9. Branding still fails though
svn path=/trunk/; revision=8101
Diffstat (limited to 'embed/mozilla/EphyPromptService.h')
-rw-r--r-- | embed/mozilla/EphyPromptService.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/embed/mozilla/EphyPromptService.h b/embed/mozilla/EphyPromptService.h index 2416e5318..ffde73164 100644 --- a/embed/mozilla/EphyPromptService.h +++ b/embed/mozilla/EphyPromptService.h @@ -22,6 +22,7 @@ #define EPHY_PROMPT_SERVICE_H #include <nsIPromptService.h> +#include <nsIPromptService2.h> #if HAVE_NSINONBLOCKINGALERTSERVICE_H #include <nsINonBlockingAlertService.h> @@ -34,7 +35,7 @@ #define EPHY_PROMPT_SERVICE_CLASSNAME "Epiphany Prompt Service" -class EphyPromptService : public nsIPromptService +class EphyPromptService : public nsIPromptService2 #if HAVE_NSINONBLOCKINGALERTSERVICE_H , public nsINonBlockingAlertService #endif @@ -42,12 +43,23 @@ class EphyPromptService : public nsIPromptService public: NS_DECL_ISUPPORTS NS_DECL_NSIPROMPTSERVICE + NS_DECL_NSIPROMPTSERVICE2 #if HAVE_NSINONBLOCKINGALERTSERVICE_H NS_DECL_NSINONBLOCKINGALERTSERVICE #endif EphyPromptService(); virtual ~EphyPromptService(); + + protected: + static nsresult PromptPasswordAdapter(nsIPromptService* aService, + nsIDOMWindow* aParent, + nsIChannel* aChannel, + PRUint32 aLevel, + nsIAuthInformation* aAuthInfo, + const PRUnichar* aCheckLabel, + PRBool* aCheckValue, + PRBool* retval); }; #endif /* EPHY_PROMPT_SERVICE_H */ |