summaryrefslogtreecommitdiffstats
path: root/content/test/test_web_contents.h
diff options
context:
space:
mode:
authornasko <nasko@chromium.org>2015-06-05 11:37:06 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-05 18:38:18 +0000
commit4c0feb652441719f6410ac137ef42b51c7c14a6e (patch)
tree3c6d2b1ab0585dbc9fb92fa18b532076c448f416 /content/test/test_web_contents.h
parent5c5c9d38be5b88f48aad04e9d5b24958ad76c978 (diff)
downloadchromium_src-4c0feb652441719f6410ac137ef42b51c7c14a6e.zip
chromium_src-4c0feb652441719f6410ac137ef42b51c7c14a6e.tar.gz
chromium_src-4c0feb652441719f6410ac137ef42b51c7c14a6e.tar.bz2
Remove swapped-out usage in --site-per-process.
When navigating cross-process, we use swapped-out RenderFrameHost as placeholders. The goal is to replace this with RenderFrameProxyHost, which is already the case for all subframes, but not the main frame. The code is far along that this can be done now for the main frame as well. This CL starts the path to removing the swapped-out RenderFrameHost concept by deleting the RenderFrameHost for the main frame on cross-process navigations and only keeping a RenderFrameProxyHost around. It is doing this for --site-per-process only, so all details can be fleshed out. Subsequent CL will remove the --site-per-process restriction and enable it in all modes of Chrome. BUG=357747 Review URL: https://codereview.chromium.org/1142123002 Cr-Commit-Position: refs/heads/master@{#333100}
Diffstat (limited to 'content/test/test_web_contents.h')
-rw-r--r--content/test/test_web_contents.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/content/test/test_web_contents.h b/content/test/test_web_contents.h
index 53bc82a..de3a103 100644
--- a/content/test/test_web_contents.h
+++ b/content/test/test_web_contents.h
@@ -61,10 +61,12 @@ class TestWebContents : public WebContentsImpl, public WebContentsTester {
bool CrossProcessNavigationPending();
// Prevent interaction with views.
- bool CreateRenderViewForRenderManager(RenderViewHost* render_view_host,
- int opener_route_id,
- int proxy_routing_id,
- bool for_main_frame) override;
+ bool CreateRenderViewForRenderManager(
+ RenderViewHost* render_view_host,
+ int opener_route_id,
+ int proxy_routing_id,
+ const FrameReplicationState& replicated_frame_state,
+ bool for_main_frame) override;
void UpdateRenderViewSizeForRenderManager() override {}
// Returns a clone of this TestWebContents. The returned object is also a