diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-10-28 02:05:29 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-10-28 02:05:29 +0800 |
commit | e7226bd132c37ef89eb37f8a31b47c31b71ede8e (patch) | |
tree | bf37ad9653c25b3caa834e5fe8bf57c838285468 /embed/mozilla/EphyHeaderSniffer.h | |
parent | 7b0fe9305597ff7bd10c4dc468ae00eab155ca36 (diff) | |
download | gsoc2013-epiphany-e7226bd132c37ef89eb37f8a31b47c31b71ede8e.tar gsoc2013-epiphany-e7226bd132c37ef89eb37f8a31b47c31b71ede8e.tar.gz gsoc2013-epiphany-e7226bd132c37ef89eb37f8a31b47c31b71ede8e.tar.bz2 gsoc2013-epiphany-e7226bd132c37ef89eb37f8a31b47c31b71ede8e.tar.lz gsoc2013-epiphany-e7226bd132c37ef89eb37f8a31b47c31b71ede8e.tar.xz gsoc2013-epiphany-e7226bd132c37ef89eb37f8a31b47c31b71ede8e.tar.zst gsoc2013-epiphany-e7226bd132c37ef89eb37f8a31b47c31b71ede8e.zip |
Implement filechooser for ASK_DESTINATION.
2003-10-27 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/EphyHeaderSniffer.cpp:
* embed/mozilla/EphyHeaderSniffer.h:
Implement filechooser for ASK_DESTINATION.
Diffstat (limited to 'embed/mozilla/EphyHeaderSniffer.h')
-rw-r--r-- | embed/mozilla/EphyHeaderSniffer.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/embed/mozilla/EphyHeaderSniffer.h b/embed/mozilla/EphyHeaderSniffer.h index 3635593e8..c3790cec3 100644 --- a/embed/mozilla/EphyHeaderSniffer.h +++ b/embed/mozilla/EphyHeaderSniffer.h @@ -60,7 +60,9 @@ public: NS_DECL_ISUPPORTS NS_DECL_NSIWEBPROGRESSLISTENER NS_DECL_NSIAUTHPROMPT - + + nsresult InitiateDownload (nsILocalFile *aDestFile); + protected: nsresult PerformSave (nsIURI* inOriginalURI); @@ -69,6 +71,7 @@ private: MozillaEmbedPersist *mEmbedPersist; nsCOMPtr<nsIFile> mTmpFile; nsCOMPtr<nsIURI> mURL; + nsCOMPtr<nsIURI> mOriginalURI; nsCOMPtr<nsIDOMDocument> mDocument; nsCOMPtr<nsIInputStream> mPostData; PRBool mBypassCache; |