Index: chrome/renderer/plugins/plugin_placeholder.h |
diff --git a/chrome/renderer/plugins/plugin_placeholder.h b/chrome/renderer/plugins/plugin_placeholder.h |
index eb70d35705cc4f9cad64e8fdfc5f7ed6cb1a1e9e..6275284bae9d00319cbaf2e700ea2ad8fe64a898 100644 |
--- a/chrome/renderer/plugins/plugin_placeholder.h |
+++ b/chrome/renderer/plugins/plugin_placeholder.h |
@@ -16,10 +16,10 @@ |
struct ChromeViewHostMsg_GetPluginInfo_Status; |
namespace webkit { |
-struct WebPluginInfo; |
namespace npapi { |
class PluginGroup; |
} |
+struct WebPluginInfo; |
} |
// Placeholders can be used if a plug-in is missing or not available |
@@ -35,6 +35,10 @@ class PluginPlaceholder : public content::RenderViewObserver, |
WebKit::WebFrame* frame, |
const WebKit::WebPluginParams& params); |
+ static PluginPlaceholder* CreateErrorPlugin( |
+ content::RenderView* render_view, |
+ const FilePath& plugin_path); |
+ |
static PluginPlaceholder* CreateBlockedPlugin( |
content::RenderView* render_view, |
WebKit::WebFrame* frame, |