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

Issue 2010133003: Add ScrollManager class (Closed)

Created:
4 years, 6 months ago by Navid Zolghadr
Modified:
4 years, 6 months ago
Reviewers:
mustaq, dtapuska, bokan
CC:
chromium-reviews, blink-reviews, dtapuska+blinkwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add ScrollManager class Extract scrolling and resizing related logic from EventHandler and put it in a dedicated class. BUG=615079 Committed: https://crrev.com/c517903e4714fac5e85e9e38fb7316d5df36cc46 Cr-Commit-Position: refs/heads/master@{#397485}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 23

Patch Set 4 : Applying comments #

Patch Set 5 : #

Total comments: 12

Patch Set 6 : Adding TODOs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+874 lines, -662 lines) Patch
M third_party/WebKit/Source/core/core.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.h View 1 2 3 4 5 11 chunks +7 lines, -85 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 2 3 31 chunks +32 lines, -577 lines 0 comments Download
A third_party/WebKit/Source/core/input/ScrollManager.h View 1 2 3 4 5 1 chunk +176 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/input/ScrollManager.cpp View 1 2 3 4 1 chunk +657 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (4 generated)
Navid Zolghadr
4 years, 6 months ago (2016-05-26 21:15:39 UTC) #2
dtapuska
https://codereview.chromium.org/2010133003/diff/40001/third_party/WebKit/Source/core/input/EventHandler.cpp File third_party/WebKit/Source/core/input/EventHandler.cpp (left): https://codereview.chromium.org/2010133003/diff/40001/third_party/WebKit/Source/core/input/EventHandler.cpp#oldcode522 third_party/WebKit/Source/core/input/EventHandler.cpp:522: if (!layoutObject->isBox()) This seems like something that should be ...
4 years, 6 months ago (2016-05-27 14:12:23 UTC) #3
Navid Zolghadr
I have applied some of the comments as much as I thought it was obvious. ...
4 years, 6 months ago (2016-05-30 20:15:47 UTC) #4
mustaq
https://codereview.chromium.org/2010133003/diff/80001/third_party/WebKit/Source/core/input/EventHandler.cpp File third_party/WebKit/Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/2010133003/diff/80001/third_party/WebKit/Source/core/input/EventHandler.cpp#newcode466 third_party/WebKit/Source/core/input/EventHandler.cpp:466: void EventHandler::startPanScrolling(LayoutObject* layoutObject) I think it's fine to move ...
4 years, 6 months ago (2016-05-31 16:04:11 UTC) #5
Navid Zolghadr
https://codereview.chromium.org/2010133003/diff/80001/third_party/WebKit/Source/core/input/EventHandler.cpp File third_party/WebKit/Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/2010133003/diff/80001/third_party/WebKit/Source/core/input/EventHandler.cpp#newcode2003 third_party/WebKit/Source/core/input/EventHandler.cpp:2003: WebInputEventResult EventHandler::handleGestureScrollEnd(const PlatformGestureEvent& gestureEvent) On 2016/05/31 16:04:11, mustaq wrote: ...
4 years, 6 months ago (2016-05-31 16:11:16 UTC) #6
Navid Zolghadr
4 years, 6 months ago (2016-05-31 16:13:50 UTC) #8
bokan
It's a little hard to tell due to the amount of code, are there any ...
4 years, 6 months ago (2016-05-31 19:39:14 UTC) #9
mustaq
https://codereview.chromium.org/2010133003/diff/80001/third_party/WebKit/Source/core/input/EventHandler.cpp File third_party/WebKit/Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/2010133003/diff/80001/third_party/WebKit/Source/core/input/EventHandler.cpp#newcode2003 third_party/WebKit/Source/core/input/EventHandler.cpp:2003: WebInputEventResult EventHandler::handleGestureScrollEnd(const PlatformGestureEvent& gestureEvent) On 2016/05/31 19:39:13, bokan wrote: ...
4 years, 6 months ago (2016-05-31 20:20:11 UTC) #10
Navid Zolghadr
ptal. I believe I applied all the comments and I hope that I didn't miss ...
4 years, 6 months ago (2016-06-01 17:36:44 UTC) #11
bokan
lgtm
4 years, 6 months ago (2016-06-02 15:52:23 UTC) #12
mustaq
4 years, 6 months ago (2016-06-02 16:15:53 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2010133003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2010133003/100001
4 years, 6 months ago (2016-06-02 16:25:02 UTC) #15
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 6 months ago (2016-06-02 19:15:01 UTC) #16
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 19:17:07 UTC) #18
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/c517903e4714fac5e85e9e38fb7316d5df36cc46
Cr-Commit-Position: refs/heads/master@{#397485}

Powered by Google App Engine
This is Rietveld 408576698