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

Issue 2905283003: Remove a bunch of dead code around WindowFeatures (Closed)

Created:
3 years, 7 months ago by Nate Chapin
Modified:
3 years, 6 months ago
Reviewers:
kinuko, dcheng
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, darin (slow to review), nasko+codewatch_chromium.org, jam, yzshen+watch_chromium.org, blink-reviews-api_chromium.org, Aaron Boodman, dglazkov+blink, darin-cc_chromium.org, blink-reviews, blink-reviews-frames_chromium.org, abarth-chromium, kinuko+watch
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove a bunch of dead code around WindowFeatures Store the WindowFeatures on Page instead of ChromeClientImpl, to reduce core<->web layer transfers. Move the logic that makes the final call on a new window's NavigationPolicy to CreateWindow.cpp. BUG= Review-Url: https://codereview.chromium.org/2905283003 Cr-Commit-Position: refs/heads/master@{#476830} Committed: https://chromium.googlesource.com/chromium/src/+/bfc4789dcaff98323551d6bfcbb1e4db3c820251

Patch Set 1 #

Patch Set 2 : Keep the web platfrom status quo #

Patch Set 3 : Rebase #

Patch Set 4 : Fix typos #

Patch Set 5 : Add missing #include #

Total comments: 22

Patch Set 6 : Rebase #

Patch Set 7 : Use WebWindowFeatures everywhere #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+460 lines, -938 lines) Patch
M content/public/common/common_param_traits_macros.h View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
M content/public/renderer/window_features_converter.cc View 1 2 chunks +0 lines, -8 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 1 chunk +2 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/core/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/exported/WebViewBase.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/BarProp.cpp View 1 2 3 4 5 6 2 chunks +7 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp View 1 2 3 4 5 6 2 chunks +3 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/loader/EmptyClients.h View 1 2 3 4 5 6 2 chunks +1 line, -15 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.cpp View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/BUILD.gn View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/page/ChromeClient.h View 1 2 3 4 5 6 4 chunks +4 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/core/page/ChromeClient.cpp View 1 2 3 4 5 6 2 chunks +0 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/page/CreateWindow.h View 1 2 3 4 5 6 2 chunks +11 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/page/CreateWindow.cpp View 1 2 3 4 5 6 10 chunks +227 lines, -9 lines 0 comments Download
A third_party/WebKit/Source/core/page/EffectiveNavigationPolicyTest.cpp View 1 1 chunk +157 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/Page.h View 1 2 3 4 5 6 3 chunks +9 lines, -0 lines 2 comments Download
M third_party/WebKit/Source/core/page/WindowFeatures.h View 1 2 3 4 5 6 1 chunk +0 lines, -104 lines 0 comments Download
M third_party/WebKit/Source/core/page/WindowFeatures.cpp View 1 2 3 4 5 6 1 chunk +0 lines, -294 lines 0 comments Download
M third_party/WebKit/Source/core/page/WindowFeaturesTest.cpp View 1 2 3 4 5 6 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.h View 1 2 3 4 5 6 4 chunks +3 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.cpp View 1 2 3 4 5 6 7 chunks +10 lines, -148 lines 0 comments Download
M third_party/WebKit/Source/web/LocalFrameClientImpl.cpp View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.h View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/ChromeClientImplTest.cpp View 1 2 3 4 5 6 2 chunks +1 line, -172 lines 0 comments Download
M third_party/WebKit/public/web/WebWindowFeatures.h View 1 2 3 4 5 6 1 chunk +19 lines, -89 lines 1 comment Download
M third_party/WebKit/public/web/window_features.mojom View 1 1 chunk +0 lines, -9 lines 0 comments Download

Messages

Total messages: 41 (28 generated)
Nate Chapin
kinuko, would you mind reviewing this large-ish cleanup? https://codereview.chromium.org/2905283003/diff/80001/third_party/WebKit/Source/core/exported/WebViewBase.h File third_party/WebKit/Source/core/exported/WebViewBase.h (left): https://codereview.chromium.org/2905283003/diff/80001/third_party/WebKit/Source/core/exported/WebViewBase.h#oldcode221 third_party/WebKit/Source/core/exported/WebViewBase.h:221: virtual ...
3 years, 6 months ago (2017-05-31 16:55:14 UTC) #19
kinuko
Looks great, I have some comments/questions but lgtm https://codereview.chromium.org/2905283003/diff/80001/third_party/WebKit/Source/core/page/CreateWindow.cpp File third_party/WebKit/Source/core/page/CreateWindow.cpp (right): https://codereview.chromium.org/2905283003/diff/80001/third_party/WebKit/Source/core/page/CreateWindow.cpp#newcode55 third_party/WebKit/Source/core/page/CreateWindow.cpp:55: void ...
3 years, 6 months ago (2017-06-01 06:39:28 UTC) #20
Nate Chapin
Would you mind re-reviewing PS 5->6? The changes were substantive enough that I'm not sure ...
3 years, 6 months ago (2017-06-01 20:57:11 UTC) #23
Nate Chapin
On 2017/06/01 20:57:11, Nate Chapin wrote: > Would you mind re-reviewing PS 5->6? The changes ...
3 years, 6 months ago (2017-06-01 20:58:19 UTC) #24
kinuko
lgtm!
3 years, 6 months ago (2017-06-02 04:12:24 UTC) #27
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/2905283003/120001
3 years, 6 months ago (2017-06-02 16:26:59 UTC) #29
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/454516)
3 years, 6 months ago (2017-06-02 16:37:25 UTC) #31
Nate Chapin
dcheng, would you mind IPC-reviewing this? Deletes only :)
3 years, 6 months ago (2017-06-02 16:43:13 UTC) #33
dcheng
ipc seems fine. one question about layering (since I'm not sure about the current status ...
3 years, 6 months ago (2017-06-02 18:46:22 UTC) #34
dcheng
Btw I thought about this a bit more at lunch, and since we're already doing ...
3 years, 6 months ago (2017-06-02 20:07:21 UTC) #35
Nate Chapin
https://codereview.chromium.org/2905283003/diff/120001/third_party/WebKit/Source/core/page/Page.h File third_party/WebKit/Source/core/page/Page.h (right): https://codereview.chromium.org/2905283003/diff/120001/third_party/WebKit/Source/core/page/Page.h#newcode46 third_party/WebKit/Source/core/page/Page.h:46: #include "public/web/WebWindowFeatures.h" On 2017/06/02 18:46:22, dcheng wrote: > I'm ...
3 years, 6 months ago (2017-06-02 20:20:23 UTC) #36
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/2905283003/120001
3 years, 6 months ago (2017-06-02 20:21:22 UTC) #38
commit-bot: I haz the power
3 years, 6 months ago (2017-06-02 23:01:35 UTC) #41
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/bfc4789dcaff98323551d6bfcbb1...

Powered by Google App Engine
This is Rietveld 408576698