There's various refactorings we should do here:
-Removing the one-dimensional scroll methods that take a direction and delta rather than a FloatSize
-Seperating ScrollAnimators/ScrollableAreas/EventHandler more cleanly. Currently, details of EventHandler like ScrollGranularity, Direction, etc. are passed all the way through to the Animators even though they're not really needed there.
-Making frame scrolling less special compared to scrolling other LayoutBoxes
-Merging various similar scrolling paths to reduce complexity and bugs
This will all be quite helpful once we start undertaking the scroll unification project. Making the main thread paths look more like the CC equivalents will make that easier.
Comment 1 by bokan@chromium.org
, Mar 1 2016