| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WEBKIT_PLUGINS_WEBPLUGININFO_H_ | 5 #ifndef WEBKIT_PLUGINS_WEBPLUGININFO_H_ |
| 6 #define WEBKIT_PLUGINS_WEBPLUGININFO_H_ | 6 #define WEBKIT_PLUGINS_WEBPLUGININFO_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 // Enabled state of the plugin. See the EnabledStates enum. | 99 // Enabled state of the plugin. See the EnabledStates enum. |
| 100 int enabled; | 100 int enabled; |
| 101 | 101 |
| 102 // Plugin type. See the PluginType enum. | 102 // Plugin type. See the PluginType enum. |
| 103 int type; | 103 int type; |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 // Checks whether a plugin is enabled either by the user or by policy. | 106 // Checks whether a plugin is enabled either by the user or by policy. |
| 107 bool IsPluginEnabled(const WebPluginInfo& plugin); | 107 bool IsPluginEnabled(const WebPluginInfo& plugin); |
| 108 | 108 |
| 109 // Checks whether a plugin is a Pepper plugin, enabled or disabled. |
| 110 bool IsPepperPlugin(const WebPluginInfo& plugin); |
| 111 |
| 109 } // namespace webkit | 112 } // namespace webkit |
| 110 | 113 |
| 111 #endif // WEBKIT_PLUGINS_WEBPLUGININFO_H_ | 114 #endif // WEBKIT_PLUGINS_WEBPLUGININFO_H_ |
| OLD | NEW |