diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-18 17:15:00 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-18 17:15:00 +0000 |
commit | cebc3dc5b2649fba2dd4e5c38197f367cbe296ad (patch) | |
tree | 5fdabab303791a373f741fed1caf15b4b967012f /content/common/content_client.h | |
parent | 197d77b84fe78fd08bdfc72553b297111142a9f2 (diff) | |
download | chromium_src-cebc3dc5b2649fba2dd4e5c38197f367cbe296ad.zip chromium_src-cebc3dc5b2649fba2dd4e5c38197f367cbe296ad.tar.gz chromium_src-cebc3dc5b2649fba2dd4e5c38197f367cbe296ad.tar.bz2 |
Move PepperPluginRegistry to content, while leaving the Chrome specific bits (NaCl, registration of Chrome plugins like pdf/remoting/flash) behind.
Review URL: http://codereview.chromium.org/6869051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81959 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/content_client.h')
-rw-r--r-- | content/common/content_client.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/content/common/content_client.h b/content/common/content_client.h index 9b7da6f..f0a272e 100644 --- a/content/common/content_client.h +++ b/content/common/content_client.h @@ -6,10 +6,13 @@ #define CONTENT_COMMON_CONTENT_CLIENT_H_ #pragma once +#include <vector> + #include "base/basictypes.h" class GURL; struct GPUInfo; +struct PepperPluginInfo; namespace content { @@ -36,13 +39,15 @@ class ContentClient { ContentRendererClient* renderer() { return renderer_; } void set_renderer(ContentRendererClient* r) { renderer_ = r; } - // Sets the URL that is logged if the child process crashes. Use GURL() to - // clear the URL. + // Sets the currently active URL. Use GURL() to clear the URL. virtual void SetActiveURL(const GURL& url) {} // Sets the data on the current gpu. virtual void SetGpuInfo(const GPUInfo& gpu_info) {} + // Gives the embedder a chance to register its own pepper plugins. + virtual void AddPepperPlugins(std::vector<PepperPluginInfo>* plugins) {} + private: // The embedder API for participating in browser logic. ContentBrowserClient* browser_; |