diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2004-02-14 00:55:59 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2004-02-14 00:55:59 +0800 |
commit | dbb19c8b42aafc289947199f57f656dd72a901d8 (patch) | |
tree | 9e1115bd245fd5a2eb401d6859d05b96ce6bd213 /embed/mozilla/ContentHandler.h | |
parent | 235a1554235f221652529e2d4458730fbf709287 (diff) | |
download | gsoc2013-epiphany-dbb19c8b42aafc289947199f57f656dd72a901d8.tar gsoc2013-epiphany-dbb19c8b42aafc289947199f57f656dd72a901d8.tar.gz gsoc2013-epiphany-dbb19c8b42aafc289947199f57f656dd72a901d8.tar.bz2 gsoc2013-epiphany-dbb19c8b42aafc289947199f57f656dd72a901d8.tar.lz gsoc2013-epiphany-dbb19c8b42aafc289947199f57f656dd72a901d8.tar.xz gsoc2013-epiphany-dbb19c8b42aafc289947199f57f656dd72a901d8.tar.zst gsoc2013-epiphany-dbb19c8b42aafc289947199f57f656dd72a901d8.zip |
Several types are actually safe.
2004-02-13 Marco Pesenti Gritti <marco@gnome.org>
* data/mime-types-permissions.xml:
Several types are actually safe.
* embed/mozilla/ContentHandler.cpp:
* embed/mozilla/ContentHandler.h:
Change the safe/unsafe logic to not consider unkown
files unsafe, they will not be opened anyway.
Cleanups.
Diffstat (limited to 'embed/mozilla/ContentHandler.h')
-rw-r--r-- | embed/mozilla/ContentHandler.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/embed/mozilla/ContentHandler.h b/embed/mozilla/ContentHandler.h index 6aa39658d..3642cc65d 100644 --- a/embed/mozilla/ContentHandler.h +++ b/embed/mozilla/ContentHandler.h @@ -43,6 +43,7 @@ typedef enum { CONTENT_ACTION_OPEN, + CONTENT_ACTION_OPEN_TMP, CONTENT_ACTION_DOWNLOAD, CONTENT_ACTION_SAVEAS, CONTENT_ACTION_NONE @@ -72,7 +73,7 @@ class GContentHandler : public nsIHelperAppLauncherDialog NS_METHOD Init (); NS_METHOD LaunchHelperApp (); - NS_METHOD MIMEConfirmAction (); + NS_METHOD MIMEConfirmAction (PRBool autoDownload); NS_METHOD MIMEDoAction (); NS_METHOD CheckAppSupportScheme (); |