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

Issue 1119823003: Allow createLocalChild to specify previous sibling frame. (Closed)

Created:
5 years, 7 months ago by alexmos
Modified:
5 years, 7 months ago
Reviewers:
dcheng
CC:
dcheng, blink-reviews, dglazkov+blink, mlamouri+watch-blink_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Allow createLocalChild to specify previous sibling frame. This will be used by the content side to ensure that local frames are inserted into the tree in the correct place. Previously, we always appended local frames last, after all remote frames. This CL will allow the browser process to pass the previous sibling's routing ID when sending an IPC message to create a new local frame. Note that the we can't just create all the local and remote frames in the right order to start with. A new renderer's local frame still has to be created after all the remote frames, so that it won't try to access a proxy that doesn't exist yet. Corresponding Chromium CL: https://codereview.chromium.org/1113393004 BUG=478792 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194897

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Change appendChild to use insertAfter #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -12 lines) Patch
M Source/web/WebFrame.cpp View 1 2 1 chunk +26 lines, -11 lines 0 comments Download
M Source/web/WebRemoteFrameImpl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/web/WebRemoteFrameImpl.cpp View 1 1 chunk +7 lines, -1 line 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 1 chunk +35 lines, -0 lines 2 comments Download
M public/web/WebFrame.h View 1 chunk +4 lines, -0 lines 0 comments Download
M public/web/WebRemoteFrame.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
alexmos
Daniel, can you please take a look? This is a prerequisite for fixing the indexed ...
5 years, 7 months ago (2015-05-01 22:37:04 UTC) #2
dcheng
Can you update the CL description to explain why we can't just create the frames ...
5 years, 7 months ago (2015-05-01 22:58:53 UTC) #3
alexmos
On 2015/05/01 22:58:53, dcheng wrote: > Can you update the CL description to explain why ...
5 years, 7 months ago (2015-05-01 23:24:26 UTC) #4
dcheng
https://codereview.chromium.org/1119823003/diff/20001/Source/web/WebFrame.cpp File Source/web/WebFrame.cpp (right): https://codereview.chromium.org/1119823003/diff/20001/Source/web/WebFrame.cpp#newcode173 Source/web/WebFrame.cpp:173: { Should we re-express this in terms of insertAfter()?
5 years, 7 months ago (2015-05-01 23:39:36 UTC) #5
alexmos
https://codereview.chromium.org/1119823003/diff/20001/Source/web/WebFrame.cpp File Source/web/WebFrame.cpp (right): https://codereview.chromium.org/1119823003/diff/20001/Source/web/WebFrame.cpp#newcode173 Source/web/WebFrame.cpp:173: { On 2015/05/01 23:39:36, dcheng wrote: > Should we ...
5 years, 7 months ago (2015-05-02 00:21:45 UTC) #6
dcheng
lgtm https://codereview.chromium.org/1119823003/diff/20001/Source/web/WebFrame.cpp File Source/web/WebFrame.cpp (right): https://codereview.chromium.org/1119823003/diff/20001/Source/web/WebFrame.cpp#newcode173 Source/web/WebFrame.cpp:173: { On 2015/05/02 at 00:21:45, alexmos wrote: > ...
5 years, 7 months ago (2015-05-04 17:30:36 UTC) #7
alexmos
Thanks! https://codereview.chromium.org/1119823003/diff/20001/Source/web/WebFrame.cpp File Source/web/WebFrame.cpp (right): https://codereview.chromium.org/1119823003/diff/20001/Source/web/WebFrame.cpp#newcode173 Source/web/WebFrame.cpp:173: { On 2015/05/04 17:30:36, dcheng wrote: > On ...
5 years, 7 months ago (2015-05-04 21:38:54 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1119823003/40001
5 years, 7 months ago (2015-05-04 23:32:27 UTC) #10
commit-bot: I haz the power
5 years, 7 months ago (2015-05-05 01:45:23 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=194897

Powered by Google App Engine
This is Rietveld 408576698