summaryrefslogtreecommitdiffstats
path: root/content/public
diff options
context:
space:
mode:
Diffstat (limited to 'content/public')
-rw-r--r--content/public/common/content_client.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/content/public/common/content_client.h b/content/public/common/content_client.h
index 7386ef7..840e370 100644
--- a/content/public/common/content_client.h
+++ b/content/public/common/content_client.h
@@ -29,6 +29,12 @@ namespace sandbox {
class TargetPolicy;
}
+namespace webkit {
+namespace npapi {
+class PluginList;
+}
+}
+
namespace content {
class ContentBrowserClient;
@@ -79,6 +85,10 @@ class CONTENT_EXPORT ContentClient {
virtual void AddPepperPlugins(
std::vector<content::PepperPluginInfo>* plugins) = 0;
+ // Gives the embedder a chance to register its own internal NPAPI plugins.
+ virtual void AddNPAPIPlugins(
+ webkit::npapi::PluginList* plugin_list) = 0;
+
// Returns whether the given message should be allowed to be sent from a
// swapped out renderer.
virtual bool CanSendWhileSwappedOut(const IPC::Message* msg) = 0;