Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Side by Side Diff: webkit/plugins/webplugininfo.h

Issue 7670003: Wire experimental Flapper part two (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/renderer/render_view.cc ('k') | webkit/plugins/webplugininfo.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « content/renderer/render_view.cc ('k') | webkit/plugins/webplugininfo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698