DescriptionMac: Add rails for scrolling.
Add a MouseWheelRailsFilter structure to compute the rail mode for
input events, based on some simple hysteresis.
Make InputHandlerProxy honor the rails requests of MouseWheel events.
This is not an ideal long-term implementation -- the rails should be
passed to cc::InputHandler, so that they can be handled correctly by
other event types. This version is being used so that it may be merged.
BUG=468454
Committed: https://crrev.com/a51f1f51c94835659073afa96a7a57f3544c6da9
Cr-Commit-Position: refs/heads/master@{#321738}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Incorporate review feeback #
Total comments: 4
Patch Set 3 : s/fabsf/std::abs/g #
Total comments: 7
Patch Set 4 : Incorporate review feedback #
Total comments: 3
Messages
Total messages: 17 (3 generated)
|