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

Issue 2285423002: Stop negating the overscroll velocity to enable the glow of main thread fling (Closed)

Created:
4 years, 3 months ago by sunyunjia
Modified:
4 years, 3 months ago
Reviewers:
bokan, esprehn, dtapuska, majidvp
CC:
chromium-reviews, darin-cc_chromium.org, dtapuska+chromiumwatch_chromium.org, jam, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Stop negating the overscroll velocity to enable the glow of main thread fling The glow of the fling is calculated from the fling velocity, which may be defined for gesture and scroll that are in opposite directions. The overscroll glow logic expects to receive the fling scroll velocity as opposed to fling gesture velocity. So we stop negating the value to enable the glow effect at disable-threaded-scrolling. BUG=597005 Committed: https://crrev.com/5b3f75d6275ec65b1db1116f58e462e729a782ac Cr-Commit-Position: refs/heads/master@{#416137}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Change the unittest result to match the change. #

Patch Set 3 : Remove TODO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -4 lines) Patch
M content/renderer/input/render_widget_input_handler.cc View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M content/renderer/render_widget_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 40 (23 generated)
sunyunjia
PTAL, Thanks!
4 years, 3 months ago (2016-08-29 21:03:19 UTC) #5
dtapuska
majidvp@ do you know the status of the crbug quoted in this change... https://codereview.chromium.org/2285423002/diff/1/content/renderer/input/render_widget_input_handler.cc File ...
4 years, 3 months ago (2016-08-29 21:16:34 UTC) #7
majidvp
https://codereview.chromium.org/2285423002/diff/1/content/renderer/input/render_widget_input_handler.cc File content/renderer/input/render_widget_input_handler.cc (right): https://codereview.chromium.org/2285423002/diff/1/content/renderer/input/render_widget_input_handler.cc#newcode517 content/renderer/input/render_widget_input_handler.cc:517: // TODO(sataya.m): don't negate velocity once http://crbug.com/499743 is On ...
4 years, 3 months ago (2016-08-31 19:39:41 UTC) #13
bokan
https://codereview.chromium.org/2285423002/diff/1/content/renderer/input/render_widget_input_handler.cc File content/renderer/input/render_widget_input_handler.cc (right): https://codereview.chromium.org/2285423002/diff/1/content/renderer/input/render_widget_input_handler.cc#newcode517 content/renderer/input/render_widget_input_handler.cc:517: // TODO(sataya.m): don't negate velocity once http://crbug.com/499743 is On ...
4 years, 3 months ago (2016-08-31 21:04:30 UTC) #15
sunyunjia
On 2016/08/31 21:04:30, bokan wrote: > https://codereview.chromium.org/2285423002/diff/1/content/renderer/input/render_widget_input_handler.cc > File content/renderer/input/render_widget_input_handler.cc (right): > > https://codereview.chromium.org/2285423002/diff/1/content/renderer/input/render_widget_input_handler.cc#newcode517 > ...
4 years, 3 months ago (2016-09-01 15:18:25 UTC) #16
dtapuska
lgtm
4 years, 3 months ago (2016-09-01 18:59:22 UTC) #21
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/2285423002/40001
4 years, 3 months ago (2016-09-01 19:01:02 UTC) #23
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/251407)
4 years, 3 months ago (2016-09-01 19:07:27 UTC) #25
bokan
I would add to the description that the reason this was broken is because https://codereview.chromium.org/1755773002 ...
4 years, 3 months ago (2016-09-01 19:16:39 UTC) #26
bokan
but lgtm in any case
4 years, 3 months ago (2016-09-01 19:16:50 UTC) #27
sunyunjia
esprehn@ could you please take a look at this patch? Thanks!
4 years, 3 months ago (2016-09-01 19:30:11 UTC) #30
majidvp
nit: The description is a bit confusing. It talks about velocity at "disable-threaded-scrolling" vs it ...
4 years, 3 months ago (2016-09-01 19:41:16 UTC) #31
bokan
> bokan@: > > reporting velocity relative to the page, rather than relative to the ...
4 years, 3 months ago (2016-09-01 19:42:55 UTC) #32
esprehn
lgtm
4 years, 3 months ago (2016-09-01 23:41:15 UTC) #34
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/2285423002/40001
4 years, 3 months ago (2016-09-02 00:06:30 UTC) #36
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-02 00:10:55 UTC) #38
commit-bot: I haz the power
4 years, 3 months ago (2016-09-02 00:14:43 UTC) #40
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5b3f75d6275ec65b1db1116f58e462e729a782ac
Cr-Commit-Position: refs/heads/master@{#416137}

Powered by Google App Engine
This is Rietveld 408576698