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

Issue 156123004: Move the frame tree into the embedder. (Closed)

Created:
6 years, 10 months ago by dcheng
Modified:
6 years, 10 months ago
Reviewers:
eseidel
CC:
blink-reviews, Nate Chapin, gavinp+loader_chromium.org, site-isolation-reviews_chromium.org
Visibility:
Public.

Description

Move the frame tree into the embedder. Frame ownership was previously transferred into the embedder layer. As a result, we can also get rid of the RefPtr<>'s that were previously used in the frame tree structure to keep frames alive, as the embedder will only release its reference to the frame when it is removed from the frame tree. Several utility methods remain behind in FrameTree since they make more sense there, but the actual tree structure has been lifted up into WebFrameImpl. BUG=340002 R=eseidel@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167231

Patch Set 1 #

Patch Set 2 : Fix tests #

Total comments: 7

Patch Set 3 : Delete silly comment #

Patch Set 4 : T -> t #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -118 lines) Patch
LayoutTests/fast/forms/form-and-frame-interaction-retains-values-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
Source/core/frame/Frame.cpp View 1 2 chunks +1 line, -8 lines 0 comments Download
Source/core/loader/EmptyClients.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
Source/core/loader/FrameLoader.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/loader/FrameLoaderClient.h View 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/page/FrameTree.h View 2 chunks +9 lines, -28 lines 0 comments Download
M Source/core/page/FrameTree.cpp View 6 chunks +54 lines, -40 lines 0 comments Download
M Source/web/FrameLoaderClientImpl.h View 1 chunk +6 lines, -0 lines 0 comments Download
M Source/web/FrameLoaderClientImpl.cpp View 1 chunk +36 lines, -0 lines 0 comments Download
M Source/web/WebFrameImpl.h View 2 chunks +8 lines, -3 lines 0 comments Download
M Source/web/WebFrameImpl.cpp View 1 2 3 chunks +56 lines, -30 lines 0 comments Download
M Source/web/tests/FrameTestHelpers.cpp View 1 chunk +5 lines, -1 line 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 1 2 3 3 chunks +14 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
dcheng
Eric, mind taking an initial pass at this CL? There's one unit test failure and ...
6 years, 10 months ago (2014-02-07 18:35:57 UTC) #1
dcheng
Ping?
6 years, 10 months ago (2014-02-12 17:32:26 UTC) #2
eseidel
https://codereview.chromium.org/156123004/diff/90001/Source/core/page/FrameTree.cpp File Source/core/page/FrameTree.cpp (right): https://codereview.chromium.org/156123004/diff/90001/Source/core/page/FrameTree.cpp#newcode80 Source/core/page/FrameTree.cpp:80: if (!m_thisFrame->loader().client()) I would have added a private loaderClient() ...
6 years, 10 months ago (2014-02-13 23:49:39 UTC) #3
dcheng
https://codereview.chromium.org/156123004/diff/90001/Source/core/page/FrameTree.cpp File Source/core/page/FrameTree.cpp (right): https://codereview.chromium.org/156123004/diff/90001/Source/core/page/FrameTree.cpp#newcode151 Source/core/page/FrameTree.cpp:151: name.appendNumber(childCount() - 1); On 2014/02/13 23:49:40, eseidel wrote: > ...
6 years, 10 months ago (2014-02-14 20:29:28 UTC) #4
eseidel
lgtm
6 years, 10 months ago (2014-02-14 21:04:09 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/156123004/150001
6 years, 10 months ago (2014-02-14 21:05:17 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-14 22:02:05 UTC) #7
commit-bot: I haz the power
Retried try job too often on mac_layout for step(s) webkit_lint http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_layout&number=20121
6 years, 10 months ago (2014-02-14 22:02:06 UTC) #8
dcheng
The CQ bit was checked by dcheng@chromium.org
6 years, 10 months ago (2014-02-14 23:16:49 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/156123004/360001
6 years, 10 months ago (2014-02-14 23:19:18 UTC) #10
commit-bot: I haz the power
6 years, 10 months ago (2014-02-15 03:29:48 UTC) #11
Message was sent while issue was closed.
Change committed as 167231

Powered by Google App Engine
This is Rietveld 408576698