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

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

Issue 8366034: Adds browser-side component of Java Bridge for a TabContents (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed another bugus assert 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.cc
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc
index 371cf891217f87e543b765d0bb2a5fd743d8f085..048864ff02d2442f8911525b84eb7731d80ec32b 100644
--- a/content/browser/tab_contents/tab_contents.cc
+++ b/content/browser/tab_contents/tab_contents.cc
@@ -210,6 +210,9 @@ TabContents::TabContents(content::BrowserContext* browser_context,
// tab contents (normally a tab from the same window).
view_->CreateView(base_tab_contents ?
base_tab_contents->view()->GetContainerSize() : gfx::Size());
+
+ java_bridge_dispatcher_host_manager_.reset(
jam 2011/10/21 16:18:21 we don't need to add this for all of chrome, do we
Steve Block 2011/10/21 16:27:48 No, this isn't needed unless we want to use the Ja
+ new JavaBridgeDispatcherHostManager(this));
}
TabContents::~TabContents() {
@@ -1471,6 +1474,7 @@ void TabContents::RenderViewGone(RenderViewHost* rvh,
void TabContents::RenderViewDeleted(RenderViewHost* rvh) {
render_manager_.RenderViewDeleted(rvh);
+ FOR_EACH_OBSERVER(TabContentsObserver, observers_, RenderViewDeleted(rvh));
}
void TabContents::DidNavigate(RenderViewHost* rvh,

Powered by Google App Engine
This is Rietveld 408576698