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

Issue 600553003: Enable swapping a frame back in to its parent process (Closed)

Created:
6 years, 3 months ago by Nate Chapin
Modified:
6 years, 1 month ago
Reviewers:
Charlie Reis, nasko
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, site-isolation-reviews_chromium.org, kenrb
Base URL:
https://chromium.googlesource.com/chromium/src.git@remoteToLocal
Project:
chromium
Visibility:
Public.

Description

Enable swapping a frame back in to its parent process This involves a couple of browser-side plumbing changes, as well as teaching RenderFrameProxy how to swap itself out in favor of a RenderFrameImpl. BUG=422583 Committed: https://crrev.com/e6adf145eae50a465e44ac625f225aeebafd7837 Cr-Commit-Position: refs/heads/master@{#302193}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 16

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Total comments: 24

Patch Set 15 : address comments #

Patch Set 16 : #

Total comments: 8

Patch Set 17 : #

Total comments: 6

Patch Set 18 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -48 lines) Patch
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +8 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +45 lines, -13 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +7 lines, -7 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +3 lines, -2 lines 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +5 lines, -2 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +13 lines, -3 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +35 lines, -13 lines 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -1 line 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 35 (6 generated)
Nate Chapin
This is dependent on https://codereview.chromium.org/574403002/ landing, but I wanted to get this out for review ...
6 years, 2 months ago (2014-09-30 21:44:48 UTC) #2
Charlie Reis
Thanks for looking into this! I think Nasko and I had a different take on ...
6 years, 2 months ago (2014-09-30 23:02:43 UTC) #3
Nate Chapin
I'm happy to chat with Nasko, but today's my last day in the office until ...
6 years, 2 months ago (2014-09-30 23:19:44 UTC) #4
nasko
https://codereview.chromium.org/600553003/diff/110001/content/browser/frame_host/frame_tree.cc File content/browser/frame_host/frame_tree.cc (right): https://codereview.chromium.org/600553003/diff/110001/content/browser/frame_host/frame_tree.cc#newcode63 content/browser/frame_host/frame_tree.cc:63: if (node->render_manager()->current_frame_host()->GetSiteInstance() == On 2014/09/30 23:02:43, Charlie Reis wrote: ...
6 years, 2 months ago (2014-10-08 16:42:58 UTC) #5
Nate Chapin
https://codereview.chromium.org/600553003/diff/110001/content/browser/frame_host/frame_tree.cc File content/browser/frame_host/frame_tree.cc (right): https://codereview.chromium.org/600553003/diff/110001/content/browser/frame_host/frame_tree.cc#newcode63 content/browser/frame_host/frame_tree.cc:63: if (node->render_manager()->current_frame_host()->GetSiteInstance() == On 2014/10/08 16:42:58, nasko wrote: > ...
6 years, 2 months ago (2014-10-08 20:30:05 UTC) #6
Charlie Reis
https://codereview.chromium.org/600553003/diff/110001/content/browser/frame_host/frame_tree.cc File content/browser/frame_host/frame_tree.cc (right): https://codereview.chromium.org/600553003/diff/110001/content/browser/frame_host/frame_tree.cc#newcode63 content/browser/frame_host/frame_tree.cc:63: if (node->render_manager()->current_frame_host()->GetSiteInstance() == On 2014/10/08 20:30:05, Nate Chapin wrote: ...
6 years, 2 months ago (2014-10-08 20:49:50 UTC) #7
nasko
https://codereview.chromium.org/600553003/diff/110001/content/browser/frame_host/frame_tree.cc File content/browser/frame_host/frame_tree.cc (right): https://codereview.chromium.org/600553003/diff/110001/content/browser/frame_host/frame_tree.cc#newcode63 content/browser/frame_host/frame_tree.cc:63: if (node->render_manager()->current_frame_host()->GetSiteInstance() == On 2014/10/08 20:49:50, Charlie Reis wrote: ...
6 years, 2 months ago (2014-10-08 20:56:44 UTC) #8
Nate Chapin
On 2014/10/08 20:56:44, nasko wrote: > https://codereview.chromium.org/600553003/diff/110001/content/browser/frame_host/frame_tree.cc > File content/browser/frame_host/frame_tree.cc (right): > > https://codereview.chromium.org/600553003/diff/110001/content/browser/frame_host/frame_tree.cc#newcode63 > ...
6 years, 1 month ago (2014-10-27 20:15:17 UTC) #9
nasko
Few comments, but overall I like how this looks! It will be useful to rebase ...
6 years, 1 month ago (2014-10-27 22:52:55 UTC) #10
Charlie Reis
I'm looking forward to this! A few thoughts below. https://codereview.chromium.org/600553003/diff/390001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/600553003/diff/390001/content/browser/frame_host/render_frame_host_impl.cc#newcode581 content/browser/frame_host/render_frame_host_impl.cc:581: ...
6 years, 1 month ago (2014-10-28 16:38:30 UTC) #11
Nate Chapin
https://codereview.chromium.org/600553003/diff/390001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/600553003/diff/390001/content/browser/frame_host/render_frame_host_impl.cc#newcode581 content/browser/frame_host/render_frame_host_impl.cc:581: GetRenderFrameProxyHost(GetSiteInstance()); On 2014/10/28 16:38:29, Charlie Reis wrote: > On ...
6 years, 1 month ago (2014-10-28 19:59:20 UTC) #12
Charlie Reis
Thanks! LGTM with nits below. https://codereview.chromium.org/600553003/diff/390001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/600553003/diff/390001/content/browser/site_per_process_browsertest.cc#newcode301 content/browser/site_per_process_browsertest.cc:301: EXPECT_NE(proxy_to_parent, child->render_manager()->GetProxyToParent()); On 2014/10/28 ...
6 years, 1 month ago (2014-10-28 20:10:10 UTC) #13
nasko
https://codereview.chromium.org/600553003/diff/390001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/600553003/diff/390001/content/browser/site_per_process_browsertest.cc#newcode301 content/browser/site_per_process_browsertest.cc:301: EXPECT_NE(proxy_to_parent, child->render_manager()->GetProxyToParent()); On 2014/10/28 20:10:10, Charlie Reis wrote: > ...
6 years, 1 month ago (2014-10-28 21:58:15 UTC) #14
Nate Chapin
https://codereview.chromium.org/600553003/diff/390001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/600553003/diff/390001/content/browser/site_per_process_browsertest.cc#newcode301 content/browser/site_per_process_browsertest.cc:301: EXPECT_NE(proxy_to_parent, child->render_manager()->GetProxyToParent()); On 2014/10/28 21:58:14, nasko wrote: > On ...
6 years, 1 month ago (2014-10-29 20:39:42 UTC) #15
nasko
On 2014/10/29 20:39:42, Nate Chapin wrote: > https://codereview.chromium.org/600553003/diff/390001/content/browser/site_per_process_browsertest.cc > File content/browser/site_per_process_browsertest.cc (right): > > https://codereview.chromium.org/600553003/diff/390001/content/browser/site_per_process_browsertest.cc#newcode301 ...
6 years, 1 month ago (2014-10-29 21:19:21 UTC) #16
Charlie Reis
https://codereview.chromium.org/600553003/diff/390001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/600553003/diff/390001/content/browser/site_per_process_browsertest.cc#newcode301 content/browser/site_per_process_browsertest.cc:301: EXPECT_NE(proxy_to_parent, child->render_manager()->GetProxyToParent()); On 2014/10/29 21:19:21, nasko wrote: > On ...
6 years, 1 month ago (2014-10-29 21:28:32 UTC) #17
nasko
On 2014/10/29 21:28:32, Charlie Reis wrote: > https://codereview.chromium.org/600553003/diff/390001/content/browser/site_per_process_browsertest.cc > File content/browser/site_per_process_browsertest.cc (right): > > https://codereview.chromium.org/600553003/diff/390001/content/browser/site_per_process_browsertest.cc#newcode301 ...
6 years, 1 month ago (2014-10-29 21:32:19 UTC) #18
Nate Chapin
https://codereview.chromium.org/600553003/diff/390001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/600553003/diff/390001/content/browser/site_per_process_browsertest.cc#newcode301 content/browser/site_per_process_browsertest.cc:301: EXPECT_NE(proxy_to_parent, child->render_manager()->GetProxyToParent()); On 2014/10/29 21:28:32, Charlie Reis wrote: > ...
6 years, 1 month ago (2014-10-30 19:00:51 UTC) #19
Charlie Reis
LGTM with nits. https://codereview.chromium.org/600553003/diff/450001/content/browser/frame_host/render_frame_host_manager.cc File content/browser/frame_host/render_frame_host_manager.cc (right): https://codereview.chromium.org/600553003/diff/450001/content/browser/frame_host/render_frame_host_manager.cc#newcode964 content/browser/frame_host/render_frame_host_manager.cc:964: const GURL& RenderFrameHostManager::GetCurrentURLForSiteInstance( Returning a const ...
6 years, 1 month ago (2014-10-30 19:36:06 UTC) #20
Nate Chapin
https://codereview.chromium.org/600553003/diff/450001/content/browser/frame_host/render_frame_host_manager.cc File content/browser/frame_host/render_frame_host_manager.cc (right): https://codereview.chromium.org/600553003/diff/450001/content/browser/frame_host/render_frame_host_manager.cc#newcode964 content/browser/frame_host/render_frame_host_manager.cc:964: const GURL& RenderFrameHostManager::GetCurrentURLForSiteInstance( On 2014/10/30 19:36:06, Charlie Reis wrote: ...
6 years, 1 month ago (2014-10-30 23:12:29 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/600553003/470001
6 years, 1 month ago (2014-10-30 23:13:17 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/21389)
6 years, 1 month ago (2014-10-30 23:17:43 UTC) #25
nasko
LGTM (needed for frame_messages.h)
6 years, 1 month ago (2014-10-30 23:23:22 UTC) #26
nasko
On 2014/10/30 23:23:22, nasko wrote: > LGTM (needed for frame_messages.h) I'd suggest adding a bug ...
6 years, 1 month ago (2014-10-30 23:24:27 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/600553003/470001
6 years, 1 month ago (2014-10-30 23:25:11 UTC) #29
Nate Chapin
On 2014/10/30 23:24:27, nasko wrote: > On 2014/10/30 23:23:22, nasko wrote: > > LGTM (needed ...
6 years, 1 month ago (2014-10-30 23:26:12 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/600553003/470001
6 years, 1 month ago (2014-10-30 23:27:34 UTC) #33
commit-bot: I haz the power
Committed patchset #18 (id:470001)
6 years, 1 month ago (2014-10-31 00:02:01 UTC) #34
commit-bot: I haz the power
6 years, 1 month ago (2014-10-31 00:02:29 UTC) #35
Message was sent while issue was closed.
Patchset 18 (id:??) landed as
https://crrev.com/e6adf145eae50a465e44ac625f225aeebafd7837
Cr-Commit-Position: refs/heads/master@{#302193}

Powered by Google App Engine
This is Rietveld 408576698