diff options
Diffstat (limited to 'chromium/chrome/common/plugin_utils.h')
-rw-r--r-- | chromium/chrome/common/plugin_utils.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/chromium/chrome/common/plugin_utils.h b/chromium/chrome/common/plugin_utils.h new file mode 100644 index 00000000000..4cc9f7a3048 --- /dev/null +++ b/chromium/chrome/common/plugin_utils.h @@ -0,0 +1,15 @@ +// Copyright 2016 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef CHROME_COMMON_PLUGIN_UTILS_H_ +#define CHROME_COMMON_PLUGIN_UTILS_H_ + +namespace content { +struct WebPluginInfo; +} + +// Returns true if |plugin| should use the JavaScript Content Settings. +bool ShouldUseJavaScriptSettingForPlugin(const content::WebPluginInfo& plugin); + +#endif // CHROME_COMMON_PLUGIN_UTILS_H_ |