diff options
author | Xan Lopez <xan@src.gnome.org> | 2003-11-05 02:35:29 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2003-11-05 02:35:29 +0800 |
commit | 49103bde7a0ab9b73c774af446bb1c29b0dc8cf9 (patch) | |
tree | c945fcb8bcbd9b48608cbf9988c9ca502046f717 /embed/mozilla/ContentHandler.h | |
parent | ddaaf5bd5e7bf588131be271d2c12a825c6bd833 (diff) | |
download | gsoc2013-epiphany-49103bde7a0ab9b73c774af446bb1c29b0dc8cf9.tar gsoc2013-epiphany-49103bde7a0ab9b73c774af446bb1c29b0dc8cf9.tar.gz gsoc2013-epiphany-49103bde7a0ab9b73c774af446bb1c29b0dc8cf9.tar.bz2 gsoc2013-epiphany-49103bde7a0ab9b73c774af446bb1c29b0dc8cf9.tar.lz gsoc2013-epiphany-49103bde7a0ab9b73c774af446bb1c29b0dc8cf9.tar.xz gsoc2013-epiphany-49103bde7a0ab9b73c774af446bb1c29b0dc8cf9.tar.zst gsoc2013-epiphany-49103bde7a0ab9b73c774af446bb1c29b0dc8cf9.zip |
Rework ContentHandler to use the auto_open_downloads key.
* data/epiphany.schemas.in:
* embed/mozilla/ContentHandler.cpp:
* embed/mozilla/ContentHandler.h:
* lib/ephy-prefs.h:
Rework ContentHandler to use the auto_open_downloads key.
Diffstat (limited to 'embed/mozilla/ContentHandler.h')
-rw-r--r-- | embed/mozilla/ContentHandler.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/embed/mozilla/ContentHandler.h b/embed/mozilla/ContentHandler.h index 3c8a6225f..85cc7debd 100644 --- a/embed/mozilla/ContentHandler.h +++ b/embed/mozilla/ContentHandler.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2000 Marco Pesenti Gritti + * Copyright (C) 2000-2003 Marco Pesenti Gritti, Xan Lopez * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -40,13 +40,6 @@ #include "nsISupports.h" #include "nsError.h" -typedef enum -{ - ACTION_NONE, - ACTION_SAVEFORHELPER, - ACTION_OBJECT_NOTIFY -} DownloadAction; - #define G_CONTENTHANDLER_CID \ { /* 16072c4a-23a6-4996-9beb-9335c06bbeae */ \ 0x16072c4a, \ @@ -70,7 +63,6 @@ class GContentHandler : public nsIHelperAppLauncherDialog NS_METHOD LaunchHelperApp (void); NS_METHOD GetLauncher (nsIHelperAppLauncher * *_retval); - NS_METHOD GetContext (nsISupports * *_retval); NS_METHOD SetHelperApp(GnomeVFSMimeApplication *mHelperApp, PRBool alwaysUse); NS_METHOD SynchroniseMIMEInfo (void); @@ -94,10 +86,6 @@ class GContentHandler : public nsIHelperAppLauncherDialog nsCString mUrl; nsCString mScheme; - - PRBool mDownloadCanceled; - - nsCOMPtr<nsIWebProgressListener> mListener; }; extern nsresult NS_NewContentHandlerFactory(nsIFactory** aFactory); |