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

Issue 1149793002: Detach old frame on WebFrame::swap. (Closed)

Created:
5 years, 7 months ago by lfg
Modified:
5 years, 6 months ago
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Detach old frame on WebFrame::swap. This is a prerequisite for https://codereview.chromium.org/1041473002/. BUG=464764 Committed: https://crrev.com/7984f01c8755d6dc229f58e65c5cc7037a499c5f Cr-Commit-Position: refs/heads/master@{#332619}

Patch Set 1 #

Patch Set 2 : fixing issue on detach and tests #

Patch Set 3 : properly rebasing #

Total comments: 4

Patch Set 4 : switching to enum #

Patch Set 5 : splitting enum in public/web source/core #

Patch Set 6 : html_viewer #

Patch Set 7 : print #

Total comments: 3

Patch Set 8 : #

Patch Set 9 : renaming enum #

Total comments: 10

Patch Set 10 : rebase\ #

Patch Set 11 : addressing Daniel's comments #

Total comments: 4

Patch Set 12 : #

Total comments: 9

Patch Set 13 : adding comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -5 lines) Patch
M components/html_viewer/html_document.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -1 line 0 comments Download
M components/html_viewer/html_document.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -0 lines 1 comment Download
M components/printing/renderer/print_web_view_helper.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +8 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +17 lines, -3 lines 0 comments Download
M content/renderer/render_frame_proxy.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/render_frame_proxy.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 31 (7 generated)
lfg
Daniel, please take a look before I send this to content/ owners. This is a ...
5 years, 6 months ago (2015-05-28 20:57:33 UTC) #3
dcheng
https://codereview.chromium.org/1149793002/diff/60001/components/printing/renderer/print_web_view_helper.cc File components/printing/renderer/print_web_view_helper.cc (right): https://codereview.chromium.org/1149793002/diff/60001/components/printing/renderer/print_web_view_helper.cc#newcode597 components/printing/renderer/print_web_view_helper.cc:597: virtual void frameDetached(blink::WebFrame* frame, bool for_replacement); Can we try ...
5 years, 6 months ago (2015-05-28 21:56:00 UTC) #4
dcheng
Also, don't forget to update mandoline. (It only builds with GN in a non-component build. ...
5 years, 6 months ago (2015-05-28 21:57:01 UTC) #5
lfg
PTAL, thanks! https://codereview.chromium.org/1149793002/diff/60001/components/printing/renderer/print_web_view_helper.cc File components/printing/renderer/print_web_view_helper.cc (right): https://codereview.chromium.org/1149793002/diff/60001/components/printing/renderer/print_web_view_helper.cc#newcode597 components/printing/renderer/print_web_view_helper.cc:597: virtual void frameDetached(blink::WebFrame* frame, bool for_replacement); On ...
5 years, 6 months ago (2015-05-29 18:34:45 UTC) #6
lfg
Hi Daniel, can you take a look at this patch now? Thanks!
5 years, 6 months ago (2015-06-01 20:31:12 UTC) #8
dcheng
https://codereview.chromium.org/1149793002/diff/160001/components/html_viewer/html_document.cc File components/html_viewer/html_document.cc (right): https://codereview.chromium.org/1149793002/diff/160001/components/html_viewer/html_document.cc#newcode276 components/html_viewer/html_document.cc:276: frameDetached(frame, blink::WebDetachReason::Remove); Once this is defined inside WebFrameClient, we ...
5 years, 6 months ago (2015-06-01 21:15:55 UTC) #9
lfg
https://codereview.chromium.org/1149793002/diff/200001/components/html_viewer/html_document.cc File components/html_viewer/html_document.cc (right): https://codereview.chromium.org/1149793002/diff/200001/components/html_viewer/html_document.cc#newcode279 components/html_viewer/html_document.cc:279: frameDetached(frame, blink::WebFrameClient::DetachType::Remove); On 2015/06/01 21:15:54, dcheng wrote: > Ditto. ...
5 years, 6 months ago (2015-06-01 21:34:19 UTC) #10
dcheng
lgtm with comments addressed https://codereview.chromium.org/1149793002/diff/240001/components/html_viewer/html_document.cc File components/html_viewer/html_document.cc (right): https://codereview.chromium.org/1149793002/diff/240001/components/html_viewer/html_document.cc#newcode1 components/html_viewer/html_document.cc:1: Typo? https://codereview.chromium.org/1149793002/diff/240001/components/html_viewer/html_document.h File components/html_viewer/html_document.h (right): ...
5 years, 6 months ago (2015-06-01 21:41:11 UTC) #11
lfg
https://codereview.chromium.org/1149793002/diff/240001/components/html_viewer/html_document.cc File components/html_viewer/html_document.cc (right): https://codereview.chromium.org/1149793002/diff/240001/components/html_viewer/html_document.cc#newcode1 components/html_viewer/html_document.cc:1: On 2015/06/01 21:41:11, dcheng wrote: > Typo? Oops. https://codereview.chromium.org/1149793002/diff/240001/components/html_viewer/html_document.h ...
5 years, 6 months ago (2015-06-01 21:46:04 UTC) #12
lfg
+creis@ Charlie, can you take a look?
5 years, 6 months ago (2015-06-01 21:46:49 UTC) #14
Charlie Reis
Hmm, there's a few things I don't understand here. Can you run try jobs for ...
5 years, 6 months ago (2015-06-01 23:41:45 UTC) #15
lfg
On 2015/06/01 23:41:45, Charlie Reis wrote: > Hmm, there's a few things I don't understand ...
5 years, 6 months ago (2015-06-02 00:00:22 UTC) #16
dcheng
https://codereview.chromium.org/1149793002/diff/260001/components/html_viewer/html_document.h File components/html_viewer/html_document.h (right): https://codereview.chromium.org/1149793002/diff/260001/components/html_viewer/html_document.h#newcode92 components/html_viewer/html_document.h:92: virtual void frameDetached(blink::WebFrame* frame, DetachType type); On 2015/06/01 23:41:46, ...
5 years, 6 months ago (2015-06-02 00:21:51 UTC) #17
lfg
Now that the blink patch landed, I've started the trybots. Please, take another look. https://codereview.chromium.org/1149793002/diff/260001/components/html_viewer/html_document.cc ...
5 years, 6 months ago (2015-06-02 16:00:01 UTC) #18
Charlie Reis
Thanks, that makes a lot more sense. Just one more thing from the last round: ...
5 years, 6 months ago (2015-06-02 17:05:28 UTC) #19
lfg
On 2015/06/02 17:05:28, Charlie Reis wrote: > Thanks, that makes a lot more sense. Just ...
5 years, 6 months ago (2015-06-02 17:17:03 UTC) #20
Charlie Reis
On 2015/06/02 17:17:03, lfg wrote: > On 2015/06/02 17:05:28, Charlie Reis wrote: > > Thanks, ...
5 years, 6 months ago (2015-06-02 17:40:47 UTC) #21
lfg
+sky: Please, take a look at components/html_viewer. +vitalybuka: Please, take a look at components/printing.
5 years, 6 months ago (2015-06-02 17:46:54 UTC) #23
sky
LGTM https://codereview.chromium.org/1149793002/diff/280001/components/html_viewer/html_document.cc File components/html_viewer/html_document.cc (right): https://codereview.chromium.org/1149793002/diff/280001/components/html_viewer/html_document.cc#newcode262 components/html_viewer/html_document.cc:262: DCHECK(type == DetachType::Remove); nit: DCHECK_EQ
5 years, 6 months ago (2015-06-02 23:01:41 UTC) #24
lfg
On 2015/06/02 23:01:41, sky wrote: > LGTM > > https://codereview.chromium.org/1149793002/diff/280001/components/html_viewer/html_document.cc > File components/html_viewer/html_document.cc (right): > ...
5 years, 6 months ago (2015-06-02 23:04:02 UTC) #25
Vitaly Buka (NO REVIEWS)
lgtm
5 years, 6 months ago (2015-06-03 05:59:48 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1149793002/280001
5 years, 6 months ago (2015-06-03 15:50:57 UTC) #29
commit-bot: I haz the power
Committed patchset #13 (id:280001)
5 years, 6 months ago (2015-06-03 15:58:41 UTC) #30
commit-bot: I haz the power
5 years, 6 months ago (2015-06-03 15:59:34 UTC) #31
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/7984f01c8755d6dc229f58e65c5cc7037a499c5f
Cr-Commit-Position: refs/heads/master@{#332619}

Powered by Google App Engine
This is Rietveld 408576698