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

Side by Side Diff: content/browser/plugin_filter.h

Issue 7387010: Add PluginServiceFilter interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move PluginFilter into content:: 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/browser/mock_content_browser_client.cc ('k') | content/browser/plugin_process_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_PLUGIN_FILTER_H_
6 #define CONTENT_BROWSER_PLUGIN_FILTER_H_
7 #pragma once
8
9 namespace content {
10
11 // Callback class to let the client filter the list of all installed plug-ins.
12 // This class is called on the FILE thread.
13 class PluginFilter {
jam 2011/08/02 04:18:18 nit: i think naming this PluginServiceFilter makes
Bernhard Bauer 2011/08/02 12:45:08 Done.
14 public:
15 virtual ~PluginFilter() {}
16 // Whether to use |plugin|. The client can return false to disallow the
17 // plugin, or return true and optionally change the passed in plugin.
18 virtual bool ShouldUsePlugin(webkit::npapi::WebPluginInfo* plugin) = 0;
19 };
20
21 } // namespace content
22
23 #endif // CONTENT_BROWSER_PLUGIN_FILTER_H_
OLDNEW
« no previous file with comments | « content/browser/mock_content_browser_client.cc ('k') | content/browser/plugin_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698