| Index: content/public/renderer/content_renderer_client.h
|
| diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h
|
| index 10b5902d1210d118d8d692e464d00ab4db3b23e4..1f6f10805b78be593735285fcd60df09da5d2aec 100644
|
| --- a/content/public/renderer/content_renderer_client.h
|
| +++ b/content/public/renderer/content_renderer_client.h
|
| @@ -14,6 +14,7 @@
|
| #include "content/public/common/content_client.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityState.h"
|
|
|
| +class FilePath;
|
| class GURL;
|
| class SkBitmap;
|
|
|
| @@ -31,6 +32,7 @@ namespace webkit {
|
| namespace ppapi {
|
| class PpapiInterfaceFactoryManager;
|
| }
|
| +struct WebPluginInfo;
|
| }
|
|
|
| namespace media {
|
| @@ -83,6 +85,12 @@ class ContentRendererClient {
|
| const WebKit::WebPluginParams& params,
|
| WebKit::WebPlugin** plugin) = 0;
|
|
|
| + // Creates a replacement plug-in that is shown when the plug-in at |file_path|
|
| + // couldn't be loaded. This allows the embedder to show a custom placeholder.
|
| + virtual WebKit::WebPlugin* CreatePluginReplacement(
|
| + RenderView* render_view,
|
| + const FilePath& plugin_path) = 0;
|
| +
|
| // Returns true if the embedder has an error page to show for the given http
|
| // status code. If so |error_domain| should be set to according to WebURLError
|
| // and the embedder's GetNavigationErrorHtml will be called afterwards to get
|
|
|