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

Issue 1749383002: Eliminate uncalled will___LiveResize and inLiveResize from RenderViewImpl through WebWidget down to… (Closed)

Created:
4 years, 9 months ago by Mark Dittmer
Modified:
4 years, 9 months ago
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-api_chromium.org, blink-reviews-layout_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, dcheng, dglazkov+blink, eae+blinkwatch, Eric Willigers, Fady Samuel, jam, jchaffraix+rendering, kinuko+watch, leviw+renderwatch, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-blink_chromium.org, nasko+codewatch_chromium.org, pdr+renderingwatchlist_chromium.org, rjwright, shans, szager+layoutwatch_chromium.org, tdresser, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Eliminate uncalled will___LiveResize and inLiveResize from RenderViewImpl through WebWidget down to scroll handlers and ImageQualityTester This dead code was discovered while analyzing willStartLiveResize callers. From bug: All blink::WebWidget::willStartLiveResize implementations are as follows: blink::WebWidget::willStartLiveResize (never called) blink::WebFrameWidgetImpl::willStartLiveResize (never called) blink::WebViewFrameWidget::willStartLiveResize (never called) blink::WebViewImpl::willStartLiveResize The last of these is only called by blink::WebViewFrameWidget::willStartLiveResize, which is never called. Naturally, eliminating willStartLiveResize drills into other methods (like willEndLiveResize) and state (that tracks whether currently live resizing). BUG=591072 Committed: https://crrev.com/44439a046d6eb17a539cfbce0fbfc9c11b7789c8 Cr-Commit-Position: refs/heads/master@{#379568}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Get rid of leftover inLiveResize hiding in obj-c code; eliminate m_liveResizeOptimizationIsActive #

Patch Set 3 : Get rid of inLiveResize from ScrollAnimatorMac #

Patch Set 4 : Remove unnecessary ViewMsg_SetInLiveResize and associated Mac-only callbacks #

Patch Set 5 : rebase #

Total comments: 2

Patch Set 6 : Resurrect obj-c callback invoked by OS X system framework #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -191 lines) Patch
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 5 6 1 chunk +0 lines, -14 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 2 chunks +0 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ImageQualityController.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ImageQualityController.cpp View 1 4 chunks +0 lines, -26 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ImageQualityControllerTest.cpp View 1 chunk +0 lines, -30 lines 0 comments Download
M third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.h View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm View 1 2 3 4 5 6 5 chunks +1 line, -22 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollableArea.h View 1 2 3 4 2 chunks +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp View 1 2 3 4 5 2 chunks +1 line, -20 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.h View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp View 2 chunks +0 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewFrameWidget.h View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewFrameWidget.cpp View 2 chunks +0 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.h View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 3 4 5 2 chunks +0 lines, -12 lines 0 comments Download
M third_party/WebKit/public/web/WebWidget.h View 2 chunks +0 lines, -10 lines 0 comments Download

Messages

Total messages: 71 (31 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1749383002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1749383002/1
4 years, 9 months ago (2016-03-02 00:46:03 UTC) #3
Fady Samuel
I passed your CL to the bots to verify this is indeed dead on all ...
4 years, 9 months ago (2016-03-02 00:47:18 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/74539)
4 years, 9 months ago (2016-03-02 01:17:13 UTC) #6
Mark Dittmer
Get rid of leftover inLiveResize hiding in obj-c code; eliminate m_liveResizeOptimizationIsActive
4 years, 9 months ago (2016-03-02 12:50:55 UTC) #7
Mark Dittmer
Mac build (hopefully) fixed. Addressed comments. fsamuel@, please give it another run through the bots. ...
4 years, 9 months ago (2016-03-02 12:54:56 UTC) #8
Mark Dittmer
On 2016/03/02 12:54:56, Mark Dittmer wrote: > Mac build (hopefully) fixed. Addressed comments. fsamuel@, please ...
4 years, 9 months ago (2016-03-02 13:20:38 UTC) #10
Fady Samuel
I'd pass this to a blink owner too, Mark. Thanks!
4 years, 9 months ago (2016-03-02 15:53:29 UTC) #11
Mark Dittmer
On 2016/03/02 15:53:29, Fady Samuel wrote: > I'd pass this to a blink owner too, ...
4 years, 9 months ago (2016-03-02 17:22:16 UTC) #13
jochen (gone - plz use gerrit)
lgtm
4 years, 9 months ago (2016-03-02 17:26:24 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1749383002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1749383002/20001
4 years, 9 months ago (2016-03-02 18:18:24 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/167656)
4 years, 9 months ago (2016-03-02 18:31:56 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1749383002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1749383002/20001
4 years, 9 months ago (2016-03-02 18:37:28 UTC) #20
Mark Dittmer
Get rid of inLiveResize from ScrollAnimatorMac
4 years, 9 months ago (2016-03-02 18:47:54 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1749383002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1749383002/40001
4 years, 9 months ago (2016-03-02 18:49:10 UTC) #24
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/189243)
4 years, 9 months ago (2016-03-02 19:16:46 UTC) #26
Mark Dittmer
Remove unnecessary ViewMsg_SetInLiveResize and associated Mac-only callbacks
4 years, 9 months ago (2016-03-02 19:39:48 UTC) #27
Mark Dittmer
On 2016/03/02 19:39:48, Mark Dittmer wrote: > Remove unnecessary ViewMsg_SetInLiveResize and associated Mac-only callbacks +kenrb@ ...
4 years, 9 months ago (2016-03-02 19:41:56 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1749383002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1749383002/60001
4 years, 9 months ago (2016-03-02 19:43:08 UTC) #31
kenrb
ipc lgtm
4 years, 9 months ago (2016-03-02 20:11:42 UTC) #32
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/189294)
4 years, 9 months ago (2016-03-02 22:26:01 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1749383002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1749383002/60001
4 years, 9 months ago (2016-03-03 18:44:37 UTC) #36
Mark Dittmer
rebase
4 years, 9 months ago (2016-03-03 20:29:40 UTC) #37
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1749383002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1749383002/80001
4 years, 9 months ago (2016-03-03 20:39:48 UTC) #39
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/189962)
4 years, 9 months ago (2016-03-03 23:23:39 UTC) #41
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1749383002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1749383002/80001
4 years, 9 months ago (2016-03-03 23:25:09 UTC) #43
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/190177)
4 years, 9 months ago (2016-03-04 02:27:54 UTC) #45
Mark Dittmer
Resurrect obj-c callback invoked by OS X system framework
4 years, 9 months ago (2016-03-04 16:51:39 UTC) #46
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1749383002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1749383002/100001
4 years, 9 months ago (2016-03-04 16:52:43 UTC) #48
Stephen Chennney
https://github.com/luisobo/Xcode-RuntimeHeaders/blob/master/DVTKit/NSScrollerImpPairDelegate-Protocol.h https://codereview.chromium.org/1749383002/diff/80001/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm File third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm (left): https://codereview.chromium.org/1749383002/diff/80001/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm#oldcode219 third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm:219: - (BOOL)inLiveResizeForScrollerImpPair:(id)scrollerImpPair This is part of the implementation ...
4 years, 9 months ago (2016-03-04 17:36:56 UTC) #50
Mark Dittmer
https://codereview.chromium.org/1749383002/diff/80001/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm File third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm (left): https://codereview.chromium.org/1749383002/diff/80001/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm#oldcode219 third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm:219: - (BOOL)inLiveResizeForScrollerImpPair:(id)scrollerImpPair On 2016/03/04 17:36:56, Stephen Chenney wrote: > ...
4 years, 9 months ago (2016-03-04 19:06:25 UTC) #51
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-04 19:55:36 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1749383002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1749383002/100001
4 years, 9 months ago (2016-03-04 21:08:36 UTC) #56
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/153536)
4 years, 9 months ago (2016-03-04 21:16:10 UTC) #58
jochen (gone - plz use gerrit)
btw, can you please update the CL description to have a <80c summary in the ...
4 years, 9 months ago (2016-03-07 11:56:49 UTC) #59
Mark Dittmer
rebase
4 years, 9 months ago (2016-03-07 14:35:14 UTC) #60
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1749383002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1749383002/120001
4 years, 9 months ago (2016-03-07 14:35:45 UTC) #62
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-07 16:05:57 UTC) #64
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1749383002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1749383002/120001
4 years, 9 months ago (2016-03-07 17:02:13 UTC) #67
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 9 months ago (2016-03-07 17:09:51 UTC) #69
commit-bot: I haz the power
4 years, 9 months ago (2016-03-07 17:11:05 UTC) #71
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/44439a046d6eb17a539cfbce0fbfc9c11b7789c8
Cr-Commit-Position: refs/heads/master@{#379568}

Powered by Google App Engine
This is Rietveld 408576698