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

Issue 117493002: Invert the owning relationship between WebFrame and Frame. (Closed)

Created:
7 years ago by dcheng
Modified:
6 years, 11 months ago
CC:
blink-reviews, Nils Barth (inactive), kojih, arv+blink, jsbell+bindings_chromium.org, gavinp+loader_chromium.org, sof, abarth-chromium, marja+watch_chromium.org, adamk+blink_chromium.org, haraken, Nate Chapin, Inactive, site-isolation-reviews_chromium.org
Visibility:
Public.

Description

Invert the owning relationship between WebFrame and Frame. TODOs: - See if there's a cleaner way to handle find in page cancellation other than plumbing it through FrameLoaderClient... - Fix unload dispatch since V8WindowShell has a if clause depend on FrameLoaderClient not being null. BUG=329266 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164390

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : Fix refcounting after removing lifetime hack #

Patch Set 5 : #

Patch Set 6 : Comment clarity? #

Total comments: 4

Patch Set 7 : #

Total comments: 16

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -90 lines) Patch
A + LayoutTests/platform/mac/plugins/geturlnotify-during-document-teardown-expected.txt View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
A + LayoutTests/platform/mac/plugins/open-and-close-window-with-plugin-expected.txt View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/v8/ScriptController.cpp View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorOverlay.cpp View 1 2 3 4 5 6 7 1 chunk +6 lines, -1 line 0 comments Download
M Source/core/loader/EmptyClients.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/FrameLoader.cpp View 1 2 3 4 5 6 7 6 chunks +26 lines, -7 lines 0 comments Download
M Source/core/loader/FrameLoaderClient.h View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M Source/web/FrameLoaderClientImpl.h View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download
M Source/web/FrameLoaderClientImpl.cpp View 1 2 3 4 5 6 7 2 chunks +17 lines, -23 lines 0 comments Download
M Source/web/WebFrameImpl.h View 1 2 3 4 5 6 6 chunks +8 lines, -6 lines 0 comments Download
M Source/web/WebFrameImpl.cpp View 1 2 3 4 5 6 7 6 chunks +22 lines, -43 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 1 2 3 4 5 6 1 chunk +0 lines, -3 lines 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
dcheng
I think this patch is ready for an initial review. The primary issue I see ...
7 years ago (2013-12-17 23:39:13 UTC) #1
abarth-chromium
Sorry, too tired to review this one. Will need to look again tomorrow.
7 years ago (2013-12-19 07:54:24 UTC) #2
eseidel
Looks OK if it works. I would like this to be a bit more conceptually ...
7 years ago (2013-12-21 01:17:34 UTC) #3
dcheng
PTAL. https://codereview.chromium.org/117493002/diff/100001/Source/bindings/v8/V8WindowShell.cpp File Source/bindings/v8/V8WindowShell.cpp (right): https://codereview.chromium.org/117493002/diff/100001/Source/bindings/v8/V8WindowShell.cpp#newcode101 Source/bindings/v8/V8WindowShell.cpp:101: // FIXME: This is probably wrong. On 2013/12/21 ...
6 years, 12 months ago (2013-12-28 01:04:29 UTC) #4
eseidel
This lgtm. But would be nice to see some responses to my questions below before ...
6 years, 12 months ago (2013-12-28 01:18:40 UTC) #5
dcheng
https://codereview.chromium.org/117493002/diff/190001/Source/core/inspector/InspectorOverlay.cpp File Source/core/inspector/InspectorOverlay.cpp (right): https://codereview.chromium.org/117493002/diff/190001/Source/core/inspector/InspectorOverlay.cpp#newcode685 Source/core/inspector/InspectorOverlay.cpp:685: m_overlayPage->mainFrame()->loader().frameDetached(); On 2013/12/28 01:18:40, eseidel wrote: > Is it ...
6 years, 12 months ago (2013-12-28 01:51:04 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/117493002/310001
6 years, 11 months ago (2013-12-30 19:29:43 UTC) #7
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=21453
6 years, 11 months ago (2013-12-30 22:18:27 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/117493002/490001
6 years, 11 months ago (2013-12-30 23:58:43 UTC) #9
commit-bot: I haz the power
6 years, 11 months ago (2013-12-31 01:24:24 UTC) #10
Message was sent while issue was closed.
Change committed as 164390

Powered by Google App Engine
This is Rietveld 408576698