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

Issue 1915783002: Move overscroll logic out of EventHandler. (Closed)

Created:
4 years, 8 months ago by bokan
Modified:
4 years, 7 months ago
Reviewers:
dtapuska
CC:
chromium-reviews, blink-reviews, kenneth.christiansen, 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

Move overscroll logic out of EventHandler. Overscrolling now happens from the viewport apply scroll callback so it doesn't have much connection to EventHandler. I've moved all the overscrolling logic into a new OverscrollController class, owned by FrameHost, that handles related state and forwards the calls to the content layer. This patch should have no behavior changes. BUG=591124 Committed: https://crrev.com/33a081977fa4f03d96265f6ada2d3347d9f0db46 Cr-Commit-Position: refs/heads/master@{#390150}

Patch Set 1 #

Patch Set 2 : Added comments #

Patch Set 3 : Make m_visualViewport a WeakMember #

Total comments: 2

Patch Set 4 : Rebase #

Patch Set 5 : Made m_visualViewport a const type #

Patch Set 6 : Made ChromeClient a traced Member<> #

Total comments: 4

Patch Set 7 : Nit and made FrameHost const-correct #

Patch Set 8 : Rebase #

Messages

Total messages: 24 (10 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/1915783002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1915783002/1
4 years, 8 months ago (2016-04-23 16:54:47 UTC) #2
bokan
ptal. https://codereview.chromium.org/1915783002/diff/40001/third_party/WebKit/Source/core/page/scrolling/OverscrollController.h File third_party/WebKit/Source/core/page/scrolling/OverscrollController.h (right): https://codereview.chromium.org/1915783002/diff/40001/third_party/WebKit/Source/core/page/scrolling/OverscrollController.h#newcode48 third_party/WebKit/Source/core/page/scrolling/OverscrollController.h:48: WeakMember<VisualViewport> m_visualViewport; This should really be `const VisualViewport` ...
4 years, 8 months ago (2016-04-25 13:44:21 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1915783002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1915783002/80001
4 years, 8 months ago (2016-04-26 01:08:36 UTC) #7
bokan
https://codereview.chromium.org/1915783002/diff/40001/third_party/WebKit/Source/core/page/scrolling/OverscrollController.h File third_party/WebKit/Source/core/page/scrolling/OverscrollController.h (right): https://codereview.chromium.org/1915783002/diff/40001/third_party/WebKit/Source/core/page/scrolling/OverscrollController.h#newcode48 third_party/WebKit/Source/core/page/scrolling/OverscrollController.h:48: WeakMember<VisualViewport> m_visualViewport; On 2016/04/25 13:44:21, bokan wrote: > This ...
4 years, 8 months ago (2016-04-26 01:08:42 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/177866) mac_chromium_rel_ng on ...
4 years, 8 months ago (2016-04-26 01:22:13 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1915783002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1915783002/100001
4 years, 8 months ago (2016-04-26 02:32:12 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-26 05:00:50 UTC) #14
dtapuska
On 2016/04/26 05:00:50, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 8 months ago (2016-04-26 13:52:48 UTC) #15
dtapuska
https://codereview.chromium.org/1915783002/diff/100001/third_party/WebKit/Source/core/frame/FrameHost.cpp File third_party/WebKit/Source/core/frame/FrameHost.cpp (right): https://codereview.chromium.org/1915783002/diff/100001/third_party/WebKit/Source/core/frame/FrameHost.cpp#newcode100 third_party/WebKit/Source/core/frame/FrameHost.cpp:100: OverscrollController& FrameHost::overscrollController() const I got shamed for this last ...
4 years, 8 months ago (2016-04-26 13:53:11 UTC) #16
bokan
Fixed up FrameHost to be const-correct. Still l-g-t-m? https://codereview.chromium.org/1915783002/diff/100001/third_party/WebKit/Source/core/frame/FrameHost.cpp File third_party/WebKit/Source/core/frame/FrameHost.cpp (right): https://codereview.chromium.org/1915783002/diff/100001/third_party/WebKit/Source/core/frame/FrameHost.cpp#newcode100 third_party/WebKit/Source/core/frame/FrameHost.cpp:100: OverscrollController& ...
4 years, 8 months ago (2016-04-26 16:09:53 UTC) #17
dtapuska
On 2016/04/26 16:09:53, bokan wrote: > Fixed up FrameHost to be const-correct. Still l-g-t-m? > ...
4 years, 7 months ago (2016-04-27 16:13:10 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1915783002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1915783002/140001
4 years, 7 months ago (2016-04-27 17:02:34 UTC) #20
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 7 months ago (2016-04-27 19:39:37 UTC) #22
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:11:58 UTC) #23
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/33a081977fa4f03d96265f6ada2d3347d9f0db46
Cr-Commit-Position: refs/heads/master@{#390150}

Powered by Google App Engine
This is Rietveld 408576698