DescriptionRefactor app list scrolling: introduce the PaginationController class.
PaginationController abstracts over mouse wheel, touch screen and
touchpad event handling for updating the PaginationModel. This allows
any client of PaginationModel (ie, ContentsView) to properly handle
scrolling events. It also removes the code duplication in OnMouseWheel
and OnScrollEvent.
BUG=406222
Committed: https://crrev.com/13cb53dbf92741bd9f432a734bb20bcb16e4ec51
Cr-Commit-Position: refs/heads/master@{#292843}
Patch Set 1 #Patch Set 2 : Rebase. #
Total comments: 7
Patch Set 3 : Explicit static_cast<int>. #
Total comments: 2
Patch Set 4 : Address comments. #Patch Set 5 : Use Vector2d instead of Point for representing offsets. #
Total comments: 4
Patch Set 6 : Address comments. #Patch Set 7 : Fix GN and Gyp. #
Messages
Total messages: 14 (2 generated)
|