summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins
diff options
context:
space:
mode:
authoramanda@chromium.org <amanda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-18 21:12:37 +0000
committeramanda@chromium.org <amanda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-18 21:12:37 +0000
commit61c2bae0cd2458f8d055bccab1edb738fa82a20d (patch)
tree21e662de800200487a54c3d5bb0b5c0b37eb7c48 /webkit/glue/plugins
parentfaabcf4802395d91b82dd671422b78bfb46b1bef (diff)
downloadchromium_src-61c2bae0cd2458f8d055bccab1edb738fa82a20d.zip
chromium_src-61c2bae0cd2458f8d055bccab1edb738fa82a20d.tar.gz
chromium_src-61c2bae0cd2458f8d055bccab1edb738fa82a20d.tar.bz2
Disable plugins on the Mac by default until JS plumbing
and drawing works better. Review URL: http://codereview.chromium.org/115472 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16318 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins')
-rw-r--r--webkit/glue/plugins/plugin_list_mac.mm6
1 files changed, 5 insertions, 1 deletions
diff --git a/webkit/glue/plugins/plugin_list_mac.mm b/webkit/glue/plugins/plugin_list_mac.mm
index dd09c89..28cf21d 100644
--- a/webkit/glue/plugins/plugin_list_mac.mm
+++ b/webkit/glue/plugins/plugin_list_mac.mm
@@ -68,7 +68,11 @@ void PluginList::LoadPluginsFromDir(const FilePath &path) {
}
bool PluginList::ShouldLoadPlugin(const WebPluginInfo& info) {
-
+ // TODO(port): uncomment the next line to enable plugins--disabled by
+ // default so that public dev builds fall back correctly to the no-plugin
+ // code on pages with plugins.
+ return false;
+
// Hierarchy check
// (we're loading plugins hierarchically from Library folders, so plugins we
// encounter earlier must override plugins we encounter later)