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

Side by Side Diff: content/public/browser/plugin_service.h

Issue 11090018: Only register the newer one of {bundled, component} Pepper Flash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 8 years, 2 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/plugin_service_impl.cc ('k') | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_
6 #define CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_ 6 #define CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 // single global list in the component build and so that we don't 119 // single global list in the component build and so that we don't
120 // accidentally load plugins in the wrong process or thread. Refer to 120 // accidentally load plugins in the wrong process or thread. Refer to
121 // PluginList for further documentation of these functions. 121 // PluginList for further documentation of these functions.
122 virtual void RefreshPlugins() = 0; 122 virtual void RefreshPlugins() = 0;
123 virtual void AddExtraPluginPath(const FilePath& path) = 0; 123 virtual void AddExtraPluginPath(const FilePath& path) = 0;
124 virtual void AddExtraPluginDir(const FilePath& path) = 0; 124 virtual void AddExtraPluginDir(const FilePath& path) = 0;
125 virtual void RemoveExtraPluginPath(const FilePath& path) = 0; 125 virtual void RemoveExtraPluginPath(const FilePath& path) = 0;
126 virtual void UnregisterInternalPlugin(const FilePath& path) = 0; 126 virtual void UnregisterInternalPlugin(const FilePath& path) = 0;
127 virtual void RegisterInternalPlugin(const webkit::WebPluginInfo& info, 127 virtual void RegisterInternalPlugin(const webkit::WebPluginInfo& info,
128 bool add_at_beginning) = 0; 128 bool add_at_beginning) = 0;
129 virtual void GetInternalPlugins(
130 std::vector<webkit::WebPluginInfo>* plugins) = 0;
129 131
130 // TODO(dpranke): This should be private. 132 // TODO(dpranke): This should be private.
131 virtual webkit::npapi::PluginList* GetPluginList() = 0; 133 virtual webkit::npapi::PluginList* GetPluginList() = 0;
132 134
133 virtual void SetPluginListForTesting( 135 virtual void SetPluginListForTesting(
134 webkit::npapi::PluginList* plugin_list) = 0; 136 webkit::npapi::PluginList* plugin_list) = 0;
135 137
136 #if defined(OS_MACOSX) 138 #if defined(OS_MACOSX)
137 // Called when the application is made active so that modal plugin windows can 139 // Called when the application is made active so that modal plugin windows can
138 // be made forward too. 140 // be made forward too.
139 virtual void AppActivated() = 0; 141 virtual void AppActivated() = 0;
140 #endif 142 #endif
141 }; 143 };
142 144
143 } // namespace content 145 } // namespace content
144 146
145 #endif // CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_ 147 #endif // CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_
OLDNEW
« no previous file with comments | « content/browser/plugin_service_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698