diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-18 05:42:22 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-18 05:42:22 +0000 |
commit | 5ee0cfd0f6f26c262c6b1afde39cd99fc974644d (patch) | |
tree | a399d099a6323b64cedd6c5c1caff6a24c26e7dd /chrome/renderer/render_view.h | |
parent | 6cc21ff3b73a0558e401c2377d34fdf79053b973 (diff) | |
download | chromium_src-5ee0cfd0f6f26c262c6b1afde39cd99fc974644d.zip chromium_src-5ee0cfd0f6f26c262c6b1afde39cd99fc974644d.tar.gz chromium_src-5ee0cfd0f6f26c262c6b1afde39cd99fc974644d.tar.bz2 |
Make BlockedPlugin implement RenderViewObserver so that RenderView doesn't have to know about it.
Review URL: http://codereview.chromium.org/6312004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71629 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_view.h')
-rw-r--r-- | chrome/renderer/render_view.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h index 388854d..dfbcf7d 100644 --- a/chrome/renderer/render_view.h +++ b/chrome/renderer/render_view.h @@ -57,7 +57,6 @@ class AudioMessageFilter; class BlockedPlugin; -class CustomMenuListener; class DictionaryValue; class DeviceOrientationDispatcher; class DevToolsAgent; @@ -352,15 +351,6 @@ class RenderView : public RenderWidget, // only by gears and this function can be deleted when we remove gears. uint32 GetCPBrowsingContext(); - // Handles registering and deregistering customer handlers for custom - // context menu events. - // To install a custom context menu, call showContextMenu() with your - // custom entries, followed immediately by CustomMenuListenerInstall() to - // register a listener for when a custom menu item is selected. Note that - // subsequent calls to showContextMenu() will clear the custom listener. - void CustomMenuListenerInstall(CustomMenuListener* listening); - void CustomMenuListenerDestroyed(CustomMenuListener* dead); - #if defined(OS_MACOSX) // Enables/disabled plugin IME for the given plugin. void SetPluginImeEnabled(bool enabled, int plugin_id); @@ -387,9 +377,6 @@ class RenderView : public RenderWidget, 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); @@ -892,7 +879,6 @@ class RenderView : public RenderWidget, const std::string& origin, const std::string& target); void OnInstallMissingPlugin(); - void OnLoadBlockedPlugins(); void OnMediaPlayerActionAt(const gfx::Point& location, const WebKit::WebMediaPlayerAction& action); void OnMoveOrResizeStarted(); @@ -1332,9 +1318,6 @@ class RenderView : public RenderWidget, // 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_; @@ -1465,9 +1448,6 @@ class RenderView : public RenderWidget, // The external popup for the currently showing select popup. scoped_ptr<ExternalPopupMenu> external_popup_menu_; - // The custom menu event listener, if any. - CustomMenuListener* custom_menu_listener_; - // The node that the context menu was pressed over. WebKit::WebNode context_menu_node_; |