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

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

Issue 23841002: 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: unittests. Created 7 years, 3 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 997452aeb5447c915c3e7eed57d401492a39223c..28d34b21d0d37a8f8ba41282aba2de054c09f1a7 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;
@@ -431,6 +432,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