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

Issue 317493002: Change FrameTree to return Frames instead of LocalFrames. (Closed)

Created:
6 years, 6 months ago by kenrb
Modified:
6 years, 6 months ago
CC:
abarth-chromium, arv+blink, blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-dom_chromium.org, blink-reviews-rendering, dglazkov+blink, eae+blinkwatch, gavinp+loader_chromium.org, groby+blinkspell_chromium.org, Nate Chapin, jchaffraix+rendering, leviw+renderwatch, pdr., rwlbuis, rune+blink, sof, site-isolation-reviews_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Change FrameTree to return Frames instead of LocalFrames. This allows RemoteFrames to be added to the FrameTree. BUG=346764 R=dcheng@chromium.org TBR=japhet@chromium.org,eseidel@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175921

Patch Set 1 #

Patch Set 2 : Fixed conflicts #

Total comments: 14

Patch Set 3 : fixed a test #

Patch Set 4 : addressed dcheng review comments #

Patch Set 5 : Another rebase #

Patch Set 6 : bug fix #

Patch Set 7 : Fixed test code in InternalsGeolocation #

Patch Set 8 : Removed test fix in geolocation #

Total comments: 2

Patch Set 9 : Clearing RemoteFrameView from FrameTree destructor #

Total comments: 1

Patch Set 10 : Rebase #

Patch Set 11 : dcheng's comment addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+305 lines, -207 lines) Patch
M Source/bindings/v8/custom/V8WindowCustom.cpp View 1 2 3 4 5 6 7 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 2 3 4 5 6 7 8 9 4 chunks +12 lines, -7 lines 0 comments Download
M Source/core/dom/DocumentInit.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/dom/FullscreenElementStack.cpp View 1 2 chunks +11 lines, -7 lines 0 comments Download
M Source/core/dom/TreeScope.cpp View 1 2 chunks +2 lines, -4 lines 0 comments Download
M Source/core/editing/FrameSelection.cpp View 1 2 3 4 5 6 7 3 chunks +6 lines, -2 lines 0 comments Download
M Source/core/editing/SpellChecker.cpp View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M Source/core/frame/DOMWindow.cpp View 1 6 chunks +15 lines, -10 lines 0 comments Download
M Source/core/frame/FrameView.cpp View 1 2 3 4 5 6 7 8 9 6 chunks +23 lines, -12 lines 0 comments Download
M Source/core/frame/LocalFrame.cpp View 1 2 3 4 5 6 7 10 chunks +39 lines, -24 lines 0 comments Download
M Source/core/loader/DocumentLoader.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/FrameFetchContext.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/FrameLoader.cpp View 1 2 3 4 5 6 7 2 chunks +8 lines, -5 lines 0 comments Download
M Source/core/loader/TextResourceDecoderBuilder.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/appcache/ApplicationCacheHost.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/page/CreateWindow.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/page/FrameTree.h View 3 chunks +16 lines, -17 lines 0 comments Download
M Source/core/page/FrameTree.cpp View 1 2 3 4 5 6 7 8 9 10 18 chunks +69 lines, -64 lines 0 comments Download
M Source/core/page/Page.cpp View 1 chunk +4 lines, -2 lines 0 comments Download
M Source/core/rendering/FastTextAutosizer.cpp View 1 2 3 4 5 6 7 1 chunk +4 lines, -2 lines 0 comments Download
M Source/core/rendering/TextAutosizer.cpp View 1 chunk +4 lines, -2 lines 0 comments Download
M Source/core/rendering/compositing/RenderLayerCompositor.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +8 lines, -4 lines 0 comments Download
M Source/core/storage/StorageArea.cpp View 2 chunks +10 lines, -4 lines 0 comments Download
M Source/core/testing/Internals.cpp View 1 2 3 4 5 6 7 1 chunk +3 lines, -3 lines 0 comments Download
M Source/modules/geolocation/testing/InternalsGeolocation.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -2 lines 0 comments Download
M Source/web/SpellCheckerClientImpl.cpp View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M Source/web/WebLocalFrameImpl.cpp View 1 2 3 4 5 6 7 8 9 3 chunks +24 lines, -7 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 1 2 3 4 5 6 7 8 9 3 chunks +12 lines, -6 lines 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 1 2 3 4 1 chunk +9 lines, -5 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
kenrb
I still need a Source/web owner, but Daniel can you PTAL?
6 years, 6 months ago (2014-06-03 21:20:38 UTC) #1
dcheng
https://codereview.chromium.org/317493002/diff/20001/Source/core/page/FrameTree.cpp File Source/core/page/FrameTree.cpp (right): https://codereview.chromium.org/317493002/diff/20001/Source/core/page/FrameTree.cpp#newcode73 Source/core/page/FrameTree.cpp:73: // FIXME: Temporary hack to stage converting locations that ...
6 years, 6 months ago (2014-06-04 18:06:36 UTC) #2
dcheng
+groby for real for my spellcheck question
6 years, 6 months ago (2014-06-04 18:06:56 UTC) #3
dcheng
https://codereview.chromium.org/317493002/diff/20001/Source/web/SpellCheckerClientImpl.cpp File Source/web/SpellCheckerClientImpl.cpp (right): https://codereview.chromium.org/317493002/diff/20001/Source/web/SpellCheckerClientImpl.cpp#newcode103 Source/web/SpellCheckerClientImpl.cpp:103: break; On 2014/06/04 18:06:37, dcheng wrote: > groby, is ...
6 years, 6 months ago (2014-06-04 18:12:28 UTC) #4
groby-ooo-7-16
https://codereview.chromium.org/317493002/diff/20001/Source/web/SpellCheckerClientImpl.cpp File Source/web/SpellCheckerClientImpl.cpp (right): https://codereview.chromium.org/317493002/diff/20001/Source/web/SpellCheckerClientImpl.cpp#newcode103 Source/web/SpellCheckerClientImpl.cpp:103: break; On 2014/06/04 18:06:37, dcheng wrote: > groby, is ...
6 years, 6 months ago (2014-06-04 18:28:13 UTC) #5
dcheng
https://codereview.chromium.org/317493002/diff/20001/Source/web/SpellCheckerClientImpl.cpp File Source/web/SpellCheckerClientImpl.cpp (right): https://codereview.chromium.org/317493002/diff/20001/Source/web/SpellCheckerClientImpl.cpp#newcode103 Source/web/SpellCheckerClientImpl.cpp:103: break; On 2014/06/04 18:28:14, groby wrote: > On 2014/06/04 ...
6 years, 6 months ago (2014-06-04 20:08:29 UTC) #6
kenrb
On 2014/06/04 20:08:29, dcheng wrote: > https://codereview.chromium.org/317493002/diff/20001/Source/web/SpellCheckerClientImpl.cpp > File Source/web/SpellCheckerClientImpl.cpp (right): > > https://codereview.chromium.org/317493002/diff/20001/Source/web/SpellCheckerClientImpl.cpp#newcode103 > ...
6 years, 6 months ago (2014-06-04 20:17:21 UTC) #7
kenrb
Looks like I still have to deal with some red try bots, but comments addressed. ...
6 years, 6 months ago (2014-06-04 20:34:46 UTC) #8
pstanek
On 2014/06/04 18:28:13, groby wrote: > https://codereview.chromium.org/317493002/diff/20001/Source/web/SpellCheckerClientImpl.cpp > File Source/web/SpellCheckerClientImpl.cpp (right): > > https://codereview.chromium.org/317493002/diff/20001/Source/web/SpellCheckerClientImpl.cpp#newcode103 > ...
6 years, 6 months ago (2014-06-05 08:39:32 UTC) #9
kenrb
+ Eric, to review Source/modules please? + Nate, to review Source/web and Source/bindings please?
6 years, 6 months ago (2014-06-06 17:34:05 UTC) #10
kenrb
Daniel, when you have some time, can you please take another pass at review?
6 years, 6 months ago (2014-06-09 20:51:22 UTC) #11
dcheng
https://codereview.chromium.org/317493002/diff/130001/Source/core/page/FrameTree.cpp File Source/core/page/FrameTree.cpp (right): https://codereview.chromium.org/317493002/diff/130001/Source/core/page/FrameTree.cpp#newcode54 Source/core/page/FrameTree.cpp:54: toLocalFrame(child)->setView(nullptr); Do we need to clear the view for ...
6 years, 6 months ago (2014-06-09 21:12:32 UTC) #12
kenrb
Any other thoughts? I think I can TBR Eric and Nate if you are okay ...
6 years, 6 months ago (2014-06-10 16:55:29 UTC) #13
dcheng
lgtm https://codereview.chromium.org/317493002/diff/150001/Source/core/page/FrameTree.cpp File Source/core/page/FrameTree.cpp (right): https://codereview.chromium.org/317493002/diff/150001/Source/core/page/FrameTree.cpp#newcode57 Source/core/page/FrameTree.cpp:57: if (child->isRemoteFrame()) else if
6 years, 6 months ago (2014-06-10 17:26:03 UTC) #14
kenrb
The CQ bit was checked by kenrb@chromium.org
6 years, 6 months ago (2014-06-10 19:54:47 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenrb@chromium.org/317493002/190001
6 years, 6 months ago (2014-06-10 19:55:39 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 6 months ago (2014-06-10 21:10:27 UTC) #17
commit-bot: I haz the power
6 years, 6 months ago (2014-06-10 21:57:29 UTC) #18
Message was sent while issue was closed.
Change committed as 175921

Powered by Google App Engine
This is Rietveld 408576698