Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Unified Diff: webkit/glue/plugins/plugin_list_mac.mm

Issue 370002: [Mac] Blacklist PDF so that they are downloaded instead of handled by QuickTime (Closed)
Patch Set: Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/plugin_list_mac.mm
diff --git a/webkit/glue/plugins/plugin_list_mac.mm b/webkit/glue/plugins/plugin_list_mac.mm
index f37f4413e42c61559384e552eee41e45f0a90784..1a30d5027b0675466f31f2c3a5a134dbff5c9ae0 100644
--- a/webkit/glue/plugins/plugin_list_mac.mm
+++ b/webkit/glue/plugins/plugin_list_mac.mm
@@ -88,6 +88,8 @@ bool PluginList::ShouldLoadPlugin(const WebPluginInfo& info,
"application/x-vnd.movenetworks.qm", // Crashes during initialization.
"application/vnd.o3d.auto", // Doesn't render, and having it
// detected can prevent fallbacks.
+ "application/x-pdf", // Force download of PDFs rather than
+ "application/pdf" // showing the 1st page through QT.
};
// In the case of plugins that share MIME types, we have to blacklist by name.
const char* blacklisted_plugin_names[] = {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698