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

Issue 2874133002: Removed WebFrameClient.cpp from Source/web (Closed)

Created:
3 years, 7 months ago by sashab
Modified:
3 years, 7 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin-cc_chromium.org, dcheng, dglazkov+blink, jam, jochen+watch_chromium.org, kinuko+watch, mlamouri+watch-content_chromium.org, mlamouri+watch-blink_chromium.org, Peter Beverloo
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Removed WebFrameClient.cpp from Source/web Removed WebFrameClient.cpp from Source/web by removing the default implementation of FrameDetached(). Most subclasses override with their own version FrameDetached() anyway, so this just involves adding it to a few classes that were relying on the default. BUG=361765 Review-Url: https://codereview.chromium.org/2874133002 Cr-Commit-Position: refs/heads/master@{#471703} Committed: https://chromium.googlesource.com/chromium/src/+/6ce1292c9e18c511370b424765e2fe3be9b21213

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebase and review feedback #

Patch Set 3 : Review feedback and added TODO #

Total comments: 1

Patch Set 4 : Review feedback #

Patch Set 5 : Added TODO back #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -24 lines) Patch
M components/plugins/renderer/webview_plugin.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/plugins/renderer/webview_plugin.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download
M content/shell/test_runner/web_frame_test_client.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/test_runner/web_frame_test_client.cc View 2 chunks +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
D third_party/WebKit/Source/web/WebFrameClient.cpp View 1 chunk +0 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/web/WebSharedWorkerImpl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebFrameClient.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/public/web/WebLocalFrame.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (21 generated)
sashab
daniel -- I implemented this patch by making FrameDetached() pure virtual, and fixing the compile ...
3 years, 7 months ago (2017-05-11 03:38:41 UTC) #3
dcheng
LGTM
3 years, 7 months ago (2017-05-11 03:46:29 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2874133002/1
3 years, 7 months ago (2017-05-11 03:48:07 UTC) #7
sashab
kinuko ptal at content/, jochen@ ptal at components/
3 years, 7 months ago (2017-05-11 03:49:55 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/433538)
3 years, 7 months ago (2017-05-11 03:59:19 UTC) #11
kinuko.yasuda
lgtm, cool
3 years, 7 months ago (2017-05-11 04:03:00 UTC) #12
kinuko.yasuda
https://codereview.chromium.org/2874133002/diff/1/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp File third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp (right): https://codereview.chromium.org/2874133002/diff/1/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp#newcode327 third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp:327: frame->Parent()->RemoveChild(frame); I think we can remove this (and possibly ...
3 years, 7 months ago (2017-05-11 04:07:17 UTC) #14
kinuko
lgtm from right address
3 years, 7 months ago (2017-05-11 04:09:09 UTC) #15
jochen (gone - plz use gerrit)
hum, I'm a bit worried of having every new WebFrameClient to duplicate this logic. Can ...
3 years, 7 months ago (2017-05-11 07:44:53 UTC) #17
dcheng
On 2017/05/11 07:44:53, jochen wrote: > hum, I'm a bit worried of having every new ...
3 years, 7 months ago (2017-05-11 21:17:11 UTC) #18
dmazzoni
rs lgtm for test_runner
3 years, 7 months ago (2017-05-12 18:56:00 UTC) #19
sashab
Thanks dcheng; see review comments. Re your suggestion: > My suggestion for resolving this is ...
3 years, 7 months ago (2017-05-15 02:18:02 UTC) #24
dcheng
On 2017/05/15 02:18:02, sashab wrote: > Thanks dcheng; see review comments. > > Re your ...
3 years, 7 months ago (2017-05-15 03:58:47 UTC) #25
jochen (gone - plz use gerrit)
a follow-up (assuming you're signing up for it) sgtm lgtm once the bots agree :)
3 years, 7 months ago (2017-05-15 05:50:59 UTC) #26
sashab
Thanks dcheng & yochen - added a TODO to add a CreateChild() method in WebLocalFrame. ...
3 years, 7 months ago (2017-05-15 06:23:48 UTC) #29
kinuko
https://codereview.chromium.org/2874133002/diff/40001/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp File third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp (right): https://codereview.chromium.org/2874133002/diff/40001/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp#newcode178 third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp:178: if (type == DetachType::kRemove && frame->Parent()) Can we also ...
3 years, 7 months ago (2017-05-15 06:27:17 UTC) #30
sashab
Done :) Thanks kinuko
3 years, 7 months ago (2017-05-15 07:07:45 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2874133002/80001
3 years, 7 months ago (2017-05-15 07:09:09 UTC) #37
commit-bot: I haz the power
3 years, 7 months ago (2017-05-15 08:53:43 UTC) #40
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/6ce1292c9e18c511370b424765e2...

Powered by Google App Engine
This is Rietveld 408576698