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

Unified Diff: content/browser/renderer_host/render_view_host_delegate.h

Issue 25503004: Create a new RenderFrameHost per child frame when --site-per-process is enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on ToT. Created 7 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/renderer_host/render_view_host_delegate.h
diff --git a/content/browser/renderer_host/render_view_host_delegate.h b/content/browser/renderer_host/render_view_host_delegate.h
index aac79cf5a46e85c135ded881eb3d7d856a644045..3176e370e4b9bc11f94a5108138fe2e69fd1c02f 100644
--- a/content/browser/renderer_host/render_view_host_delegate.h
+++ b/content/browser/renderer_host/render_view_host_delegate.h
@@ -46,6 +46,7 @@ class Size;
namespace content {
class BrowserContext;
+class FrameTree;
class PageState;
class RenderViewHost;
class RenderViewHostDelegateView;
@@ -436,6 +437,13 @@ class CONTENT_EXPORT RenderViewHostDelegate {
virtual SessionStorageNamespace* GetSessionStorageNamespace(
SiteInstance* instance);
+ // Returns the FrameTree the render view should use. Guaranteed to be constant
+ // for the lifetime of the render view.
+ //
+ // TODO(ajwong): Remove once the main frame RenderFrameHost is no longer
+ // created by the RenderViewHost.
+ virtual FrameTree* GetFrameTree();
+
protected:
virtual ~RenderViewHostDelegate() {}
};

Powered by Google App Engine
This is Rietveld 408576698