OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_COMMON_PLUGIN_UTILS_H_ | |
6 #define CHROME_COMMON_PLUGIN_UTILS_H_ | |
7 | |
8 namespace content { | |
9 struct WebPluginInfo; | |
10 } | |
11 | |
12 // Only Flash should use the Plugin content setting. | |
Lei Zhang
2016/09/23 05:00:52
This mentions Flash, but the impl doesn't check fo
xhwang
2016/09/23 16:42:17
+1
And JavaScriptSettingForPlugin isn't always se
tommycli
2016/09/23 16:46:45
Done.
Updated the comment. Sorry, this leaked int
| |
13 bool ShouldUseJavaScriptSettingForPlugin(const content::WebPluginInfo& plugin); | |
14 | |
15 #endif // CHROME_COMMON_PLUGIN_UTILS_H_ | |
OLD | NEW |