Index: webkit/plugins/npapi/webplugin_page_delegate.h |
diff --git a/webkit/plugins/npapi/webplugin_page_delegate.h b/webkit/plugins/npapi/webplugin_page_delegate.h |
index 3176ccd9e7e5a379f230b3708d8745faeea3a72a..8b87ce2c9ff440cd2e5e81d641e4d47480062c67 100644 |
--- a/webkit/plugins/npapi/webplugin_page_delegate.h |
+++ b/webkit/plugins/npapi/webplugin_page_delegate.h |
@@ -13,6 +13,7 @@ class FilePath; |
namespace WebKit { |
class WebCookieJar; |
+class WebPlugin; |
} |
namespace webkit { |
@@ -31,6 +32,10 @@ class WebPluginPageDelegate { |
const FilePath& file_path, |
const std::string& mime_type) = 0; |
+ // Caled to create a replacement plug-in when loading a plug-in failed. |
+ virtual WebKit::WebPlugin* CreatePluginReplacement( |
+ const FilePath& file_path) = 0; |
+ |
// Called when a windowed plugin is created. |
// Lets the view delegate create anything it is using to wrap the plugin. |
virtual void CreatedPluginWindow( |