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

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: custom deleters rock. 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..e817e2584cdbaa187285f548cb5187fc8340a382 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 lifeitme of the render view.
Charlie Reis 2013/09/24 18:25:58 nit: lifetime
awong 2013/09/26 21:25:24 Done.
+ //
+ // 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