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

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

Issue 1306053008: Avoid creating a RenderWidgetHostView for proxies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: only call InitRenderView when creating the main frame Created 5 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/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 2bb8a45e855ac962e54fdcb6ffebeb3433446059..0540fcb08184131688b25334d73579b736b1db4f 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -591,8 +591,9 @@ class CONTENT_EXPORT WebContentsImpl
RenderViewHost* render_view_host,
int opener_frame_routing_id,
int proxy_routing_id,
- const FrameReplicationState& replicated_frame_state,
- bool for_main_frame_navigation) override;
+ const FrameReplicationState& replicated_frame_state) override;
+ void CreateRenderWidgetHostViewForRenderManager(
+ RenderViewHost* render_view_host) override;
bool CreateRenderFrameForRenderManager(RenderFrameHost* render_frame_host,
int parent_routing_id,
int previous_sibling_routing_id,

Powered by Google App Engine
This is Rietveld 408576698