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

Unified Diff: content/browser/tab_contents/tab_contents.h

Issue 8366034: Adds browser-side component of Java Bridge for a TabContents (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Guards with ENABLE_JAVA_BRIDGE and addresses other comments Created 9 years, 2 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
Index: content/browser/tab_contents/tab_contents.h
diff --git a/content/browser/tab_contents/tab_contents.h b/content/browser/tab_contents/tab_contents.h
index 49b9c9f451f709d53691acc50044a00955b37d26..f06d9477a07c6a78bc92fd6b7d0679434edab3bb 100644
--- a/content/browser/tab_contents/tab_contents.h
+++ b/content/browser/tab_contents/tab_contents.h
@@ -17,6 +17,7 @@
#include "base/string16.h"
#include "content/browser/download/save_package.h"
#include "content/browser/javascript_dialogs.h"
+#include "content/browser/renderer_host/java_bridge_dispatcher_host_manager.h"
#include "content/browser/renderer_host/render_view_host_delegate.h"
#include "content/browser/tab_contents/navigation_controller.h"
#include "content/browser/tab_contents/navigation_entry.h"
@@ -746,6 +747,11 @@ class CONTENT_EXPORT TabContents : public PageNavigator,
// Manages creation and swapping of render views.
RenderViewHostManager render_manager_;
+ // Manages injecting Java objects into all RenderViewHosts associated with
+ // this TabContents.
+ scoped_ptr<JavaBridgeDispatcherHostManager>
+ java_bridge_dispatcher_host_manager_;
+
// SavePackage, lazily created.
scoped_refptr<SavePackage> save_package_;
« no previous file with comments | « content/browser/renderer_host/java_bridge_dispatcher_host_manager.cc ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698