| Index: chrome/renderer/blocked_plugin.h
|
| ===================================================================
|
| --- chrome/renderer/blocked_plugin.h (revision 67601)
|
| +++ chrome/renderer/blocked_plugin.h (working copy)
|
| @@ -30,9 +30,12 @@
|
|
|
| WebViewPlugin* plugin() { return plugin_; }
|
|
|
| + void MenuOptionSelected(unsigned id);
|
| +
|
| // WebViewPlugin::Delegate methods:
|
| virtual void BindWebFrame(WebKit::WebFrame* frame);
|
| virtual void WillDestroyPlugin();
|
| + virtual void ShowContextMenu(const WebKit::WebMouseEvent&);
|
|
|
| // NotificationObserver methods:
|
| virtual void Observe(NotificationType type,
|
| @@ -50,10 +53,15 @@
|
| // Load the blocked plugin.
|
| void LoadPlugin();
|
|
|
| + // Hide the blocked plugin.
|
| + void HidePlugin();
|
| +
|
| RenderView* render_view_;
|
| WebKit::WebFrame* frame_;
|
| WebKit::WebPluginParams plugin_params_;
|
| WebViewPlugin* plugin_;
|
| + // The name of the plugin that was blocked.
|
| + string16 name_;
|
|
|
| NotificationRegistrar registrar_;
|
| };
|
|
|