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

Issue 1195803003: Report accurate Overscroll on handleWheel. (Closed)

Created:
5 years, 6 months ago by MuVen
Modified:
5 years, 5 months ago
CC:
blink-reviews, shans, blink-reviews-animation_chromium.org, Eric Willigers, rjwright, darktears
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Report accurate Overscroll on handleWheel. Report accurate Overscroll on handleWheel. Currently invalid ScrollResult is returned on overscroll. compositor changes @ https://codereview.chromium.org/1203693003/ Bug=442859 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198007

Patch Set 1 #

Patch Set 2 : Changes to support overscroll on handlewheel #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 7

Patch Set 5 : addressed review comments and added testcase. #

Total comments: 2

Patch Set 6 : handleWheel irrespective of ScrollingReasons #

Total comments: 5

Patch Set 7 : #

Patch Set 8 : addressed review comments #

Patch Set 9 : #

Patch Set 10 : #

Total comments: 8

Patch Set 11 : addressed review comments #

Patch Set 12 : addressed review comments #

Patch Set 13 : Rebased to Latest #

Total comments: 2

Patch Set 14 : Addressed Nit #

Patch Set 15 : Rebased to latest #

Patch Set 16 : fixed unittest failures #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -70 lines) Patch
M Source/core/frame/RootFrameViewport.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +10 lines, -10 lines 0 comments Download
M Source/core/frame/RootFrameViewportTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/frame/Settings.in View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/input/EventHandler.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M Source/core/input/EventHandler.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +20 lines, -14 lines 0 comments Download
M Source/platform/scroll/ScrollAnimator.cpp View 1 2 3 4 5 6 1 chunk +32 lines, -43 lines 0 comments Download
M Source/web/WebSettingsImpl.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/WebSettingsImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -0 lines 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +32 lines, -0 lines 0 comments Download
M public/web/WebSettings.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 34 (17 generated)
MuVen
Hi majid, PTAL of the changes made to report overscroll on handleWheel. Thanks,
5 years, 6 months ago (2015-06-22 15:45:32 UTC) #3
majidvp
On 2015/06/22 15:45:32, MuVen wrote: > Hi majid, > > PTAL of the changes made ...
5 years, 6 months ago (2015-06-23 15:47:21 UTC) #4
jdduke (slow)
+ccameron for the Mac side of things. I don't think we want wheel overscroll on ...
5 years, 6 months ago (2015-06-23 15:56:09 UTC) #6
ccameron
This looks reasonable to me -- has it been manually tested on Mac? On 2015/06/23 ...
5 years, 6 months ago (2015-06-23 16:06:34 UTC) #7
bokan
https://codereview.chromium.org/1195803003/diff/60001/Source/core/frame/RootFrameViewport.cpp File Source/core/frame/RootFrameViewport.cpp (right): https://codereview.chromium.org/1195803003/diff/60001/Source/core/frame/RootFrameViewport.cpp#newcode125 Source/core/frame/RootFrameViewport.cpp:125: return ScrollResult(false, false, viewScrollResult.unusedScrollDeltaX, viewScrollResult.unusedScrollDeltaY); This is returning the ...
5 years, 6 months ago (2015-06-23 16:20:45 UTC) #9
bokan
On 2015/06/23 15:56:09, jdduke wrote: > +ccameron for the Mac side of things. > > ...
5 years, 6 months ago (2015-06-23 16:23:09 UTC) #10
MuVen
Hi All, Thanks for the review comments. I have tested manually on the mac, and ...
5 years, 6 months ago (2015-06-23 17:41:17 UTC) #11
MuVen
PTAL. https://codereview.chromium.org/1195803003/diff/60001/Source/core/frame/RootFrameViewport.cpp File Source/core/frame/RootFrameViewport.cpp (right): https://codereview.chromium.org/1195803003/diff/60001/Source/core/frame/RootFrameViewport.cpp#newcode125 Source/core/frame/RootFrameViewport.cpp:125: return ScrollResult(false, false, viewScrollResult.unusedScrollDeltaX, viewScrollResult.unusedScrollDeltaY); On 2015/06/23 16:20:45, ...
5 years, 6 months ago (2015-06-25 12:55:52 UTC) #20
bokan
https://codereview.chromium.org/1195803003/diff/240001/Source/platform/scroll/ScrollAnimator.cpp File Source/platform/scroll/ScrollAnimator.cpp (right): https://codereview.chromium.org/1195803003/diff/240001/Source/platform/scroll/ScrollAnimator.cpp#newcode95 Source/platform/scroll/ScrollAnimator.cpp:95: IntPoint currentPos = m_scrollableArea->scrollPosition(); Sorry, I (slightly) misled you ...
5 years, 6 months ago (2015-06-25 14:54:36 UTC) #21
MuVen
bokan, PTAL. As mentioned i have merged the codepaths in RootFrameViewport::handleWheel https://codereview.chromium.org/1195803003/diff/240001/Source/platform/scroll/ScrollAnimator.cpp File Source/platform/scroll/ScrollAnimator.cpp (right): ...
5 years, 6 months ago (2015-06-25 17:05:36 UTC) #23
bokan
https://codereview.chromium.org/1195803003/diff/350001/Source/core/frame/RootFrameViewport.cpp File Source/core/frame/RootFrameViewport.cpp (right): https://codereview.chromium.org/1195803003/diff/350001/Source/core/frame/RootFrameViewport.cpp#newcode105 Source/core/frame/RootFrameViewport.cpp:105: // Move the location by the negative of the ...
5 years, 6 months ago (2015-06-25 17:50:31 UTC) #24
MuVen
PTAL. https://codereview.chromium.org/1195803003/diff/350001/Source/core/frame/RootFrameViewport.cpp File Source/core/frame/RootFrameViewport.cpp (right): https://codereview.chromium.org/1195803003/diff/350001/Source/core/frame/RootFrameViewport.cpp#newcode105 Source/core/frame/RootFrameViewport.cpp:105: // Move the location by the negative of ...
5 years, 6 months ago (2015-06-26 09:55:45 UTC) #25
bokan
Thanks for your patience, lgtm! https://codereview.chromium.org/1195803003/diff/430001/Source/web/tests/WebFrameTest.cpp File Source/web/tests/WebFrameTest.cpp (right): https://codereview.chromium.org/1195803003/diff/430001/Source/web/tests/WebFrameTest.cpp#newcode7854 Source/web/tests/WebFrameTest.cpp:7854: // On disabling elasticoverscroll, ...
5 years, 6 months ago (2015-06-26 17:40:41 UTC) #27
MuVen
Pdr, PTAL. Need Owners Approval. Thanks, MuVen. https://codereview.chromium.org/1195803003/diff/430001/Source/web/tests/WebFrameTest.cpp File Source/web/tests/WebFrameTest.cpp (right): https://codereview.chromium.org/1195803003/diff/430001/Source/web/tests/WebFrameTest.cpp#newcode7854 Source/web/tests/WebFrameTest.cpp:7854: // On ...
5 years, 5 months ago (2015-06-29 13:27:17 UTC) #29
pdr.
On 2015/06/29 at 13:27:17, sataya.m wrote: > Pdr, > > PTAL. Need Owners Approval. > ...
5 years, 5 months ago (2015-06-29 17:18:22 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1195803003/490001
5 years, 5 months ago (2015-06-29 18:11:19 UTC) #33
commit-bot: I haz the power
5 years, 5 months ago (2015-06-29 18:15:18 UTC) #34
Message was sent while issue was closed.
Committed patchset #16 (id:490001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=198007

Powered by Google App Engine
This is Rietveld 408576698