Chromium Code Reviews| 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 // For certain sandboxed Pepper plugins, use the JavaScript Content Settings. | |
|
Lei Zhang
2016/09/23 16:49:44
// Returns whether a given |plugin| should use the
tommycli
2016/09/23 16:53:34
Done. Thanks!
| |
| 13 bool ShouldUseJavaScriptSettingForPlugin(const content::WebPluginInfo& plugin); | |
| 14 | |
| 15 #endif // CHROME_COMMON_PLUGIN_UTILS_H_ | |
| OLD | NEW |