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

Unified Diff: content/browser/web_contents/render_view_host_manager.h

Issue 10827078: Support frame tree propagation between renderers in the same browsing instance. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another round of fixes based on Charlie's review. Created 8 years, 4 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/web_contents/render_view_host_manager.h
diff --git a/content/browser/web_contents/render_view_host_manager.h b/content/browser/web_contents/render_view_host_manager.h
index 9be59d31cceef814f8379acd63619ec7216fa038..e523a725ebd607b506a94c6e82d1888c1bc53805 100644
--- a/content/browser/web_contents/render_view_host_manager.h
+++ b/content/browser/web_contents/render_view_host_manager.h
@@ -162,6 +162,9 @@ class CONTENT_EXPORT RenderViewHostManager
// Called when a renderer's main frame navigates.
void DidNavigateMainFrame(content::RenderViewHost* render_view_host);
+ // Called when a renderer has navigated and when its frame tree is updated.
+ void DidUpdateFrameTree(content::RenderViewHost* render_view_host);
+
// Helper method to create a RenderViewHost. If |swapped_out| is true, it
// will be initially placed on the swapped out hosts list. Otherwise, it
// will be used for a pending cross-site navigation.
@@ -220,7 +223,7 @@ class CONTENT_EXPORT RenderViewHostManager
bool IsSwappedOut(content::RenderViewHost* rvh);
// Returns the swapped out RenderViewHost for the given SiteInstance, if any.
- content::RenderViewHost* GetSwappedOutRenderViewHost(
+ content::RenderViewHostImpl* GetSwappedOutRenderViewHost(
content::SiteInstance* instance);
private:

Powered by Google App Engine
This is Rietveld 408576698