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

Issue 591413004: Send initializeChildFrame from RenderFrameProxy instead of WebLocalFrame (Closed)

Created:
6 years, 3 months ago by alexmos
Modified:
6 years, 3 months ago
Reviewers:
dglazkov, dcheng
CC:
abarth-chromium, blink-reviews, dglazkov+blink, jamesr, mkwst+moarreviews_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Send initializeChildFrame from RenderFrameProxy instead of WebLocalFrame. This will clean up the hack introduced in https://codereview.chromium.org/591503003/ to allow out-of-process iframes to paint. This CL is part 1 of 3. It adds an initializeFromFrame() to WebRemoteFrame to do the work that setIsRemote() used to do. initializeFromFrame is intended for transferring relevant properties to a remote frame that is about to replace the current frame. Because this is specific to a local-to-remote frame transition, this is done with a new method rather than in WebFrame::swap(). This will be followed by Chromium-side Part 2 (https://codereview.chromium.org/592263002) which will replace RenderFrameImpl::OnSwapOut's call to setIsRemote with a call to initializeFromFrame. Another blink-side CL will then remove WebLocalFrame::setIsRemote. BUG=416102, 407160 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182645

Patch Set 1 #

Patch Set 2 : Move initializeReplacementFrame to WebRemoteFrame #

Total comments: 1

Patch Set 3 : Undo changes to TestWebFrameClient #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -1 line) Patch
M Source/web/WebRemoteFrameImpl.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/web/WebRemoteFrameImpl.cpp View 1 2 chunks +10 lines, -0 lines 0 comments Download
M public/web/WebRemoteFrame.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M public/web/WebRemoteFrameClient.h View 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 12 (3 generated)
alexmos
Daniel, could you please take a look? This is an attempt to clean up setIsRemote ...
6 years, 3 months ago (2014-09-23 18:30:03 UTC) #2
dcheng
The approach looks reasonable. From an API standpoint, I wonder if it might make more ...
6 years, 3 months ago (2014-09-23 18:57:07 UTC) #3
alexmos
On 2014/09/23 18:57:07, dcheng wrote: > The approach looks reasonable. From an API standpoint, I ...
6 years, 3 months ago (2014-09-23 22:00:50 UTC) #4
dcheng
LGTM with one nit. Also, please update the CL description to mention why we're doing ...
6 years, 3 months ago (2014-09-24 23:31:19 UTC) #5
alexmos
On 2014/09/24 23:31:19, dcheng wrote: > LGTM with one nit. > > Also, please update ...
6 years, 3 months ago (2014-09-25 00:19:01 UTC) #6
alexmos
Hi Dimitri, could you please review this CL? The goal is to clean up how ...
6 years, 3 months ago (2014-09-25 00:53:00 UTC) #8
dglazkov
lgtm
6 years, 3 months ago (2014-09-25 00:57:31 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/591413004/40001
6 years, 3 months ago (2014-09-25 01:23:44 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-25 02:09:27 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as 182645

Powered by Google App Engine
This is Rietveld 408576698