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

Unified Diff: content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.h

Issue 9251022: Fix JavaBridgeDispatcherHost to use WebContents rather than TabContents (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « no previous file | content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.h
diff --git a/content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.h b/content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.h
index ff77019f265ca24c747eaebe0aa726a1d7d16c70..fd8c51cddab26d05e08fcef1813158524b98fd1e 100644
--- a/content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.h
+++ b/content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.h
@@ -18,11 +18,11 @@ class RenderViewHost;
struct NPObject;
// This class handles injecting Java objects into all of the RenderViews
-// associated with a TabContents. It manages a set of JavaBridgeDispatcherHost
+// associated with a WebContents. It manages a set of JavaBridgeDispatcherHost
// objects, one per RenderViewHost.
class JavaBridgeDispatcherHostManager : public content::WebContentsObserver {
public:
- JavaBridgeDispatcherHostManager(TabContents* tab_contents);
+ JavaBridgeDispatcherHostManager(content::WebContents* web_contents);
virtual ~JavaBridgeDispatcherHostManager();
// These methods add or remove the object to each JavaBridgeDispatcherHost.
@@ -35,7 +35,7 @@ class JavaBridgeDispatcherHostManager : public content::WebContentsObserver {
virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE;
virtual void RenderViewDeleted(RenderViewHost* render_view_host) OVERRIDE;
virtual void WebContentsDestroyed(
- content::WebContents* tab_contents) OVERRIDE;
+ content::WebContents* web_contents) OVERRIDE;
private:
typedef std::map<RenderViewHost*, scoped_refptr<JavaBridgeDispatcherHost> >
« no previous file with comments | « no previous file | content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698