Index: chrome/renderer/render_view.h |
=================================================================== |
--- chrome/renderer/render_view.h (revision 70902) |
+++ chrome/renderer/render_view.h (working copy) |
@@ -55,6 +55,7 @@ |
class AudioMessageFilter; |
class AutoFillHelper; |
+class BlockedPlugin; |
class CustomMenuListener; |
class DictionaryValue; |
class DeviceOrientationDispatcher; |
@@ -387,6 +388,9 @@ |
void RegisterPluginDelegate(WebPluginDelegateProxy* delegate); |
void UnregisterPluginDelegate(WebPluginDelegateProxy* delegate); |
+ void RegisterBlockedPlugin(BlockedPlugin* blocked_plugin); |
+ void UnregisterBlockedPlugin(BlockedPlugin* blocked_plugin); |
+ |
// IPC::Channel::Listener implementation ------------------------------------- |
virtual bool OnMessageReceived(const IPC::Message& msg); |
@@ -1359,6 +1363,9 @@ |
// destroyed yet. Pepper v2 plugins are tracked by the pepper_delegate_. |
std::set<WebPluginDelegatePepper*> current_oldstyle_pepper_plugins_; |
+ // A list of all BlockedPlugins so they can all be loaded if needed. |
+ std::set<BlockedPlugin*> blocked_plugins_; |
+ |
// Helper objects ------------------------------------------------------------ |
ScopedRunnableMethodFactory<RenderView> page_info_method_factory_; |