Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8751)

Unified Diff: chrome/renderer/render_view.h

Issue 6312004: Make BlockedPlugin implement RenderViewObserver so that RenderView doesn't ha... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/custom_menu_listener.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.h
===================================================================
--- chrome/renderer/render_view.h (revision 71581)
+++ chrome/renderer/render_view.h (working copy)
@@ -57,7 +57,6 @@
class AudioMessageFilter;
class BlockedPlugin;
-class CustomMenuListener;
class DictionaryValue;
class DeviceOrientationDispatcher;
class DevToolsAgent;
@@ -352,15 +351,6 @@
// 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 @@
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 @@
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 @@
// 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 @@
// 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_;
« no previous file with comments | « chrome/renderer/custom_menu_listener.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698