DescriptionEnsure that trackpad and trackpoint scrolling works on Windows desktop Aura with legacy trackpad drivers.
Legacy trackpad drivers like the older synaptics drivers have bugs where in they don't generate the WM_MOUSEWHEEL
messages for applications unless there is an entry for the application with the class name of the window in their
config file. If an entry does not exist here, these drivers expect the window to have the WS_VSCROLL/WS_HSCROLL style
to generate the legacy WM_VSCROLL/WM_HSCROLL messages.
This patch adds these styles to top level windows for Windows Aura. To ensure that Windows does not draw these
scrollbars, we hide them when the window size changes and readd them in a posted task which works correctly in our
testing.
Changes in this patch are as below:-
1. Add handlers to the HWNDMessageHandler class for the WM_VSCROLL/WM_HSCROLL messages.
2. Forward the scroll events to the HWNDMessageHandlerDelegate which then forwards it off to its delegate.
3. Miscellaneous fixes in the events code to allow the WM_VSCROLL/WM_HSCROLL messages to go through.
BUG=320849
R=cpu@chromium.org, sky@chromium.org, cpu, sky
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244295
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 10
Patch Set 4 : #
Total comments: 2
Patch Set 5 : #
Total comments: 2
Patch Set 6 : #
Total comments: 2
Patch Set 7 : #Messages
Total messages: 14 (0 generated)
|