Chromium Code Reviews
DescriptionWe did not set the pointer type for WebMouseEvent, which is created from NSEvent in WebMouseEventBuilder::Build. Now we set the pointer type based on the NSEvent's type to see if it is a tablet event or subtype of a mouse event to see its input device.
Reference:
https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/EventOverview/EventObjectsTypes/EventObjectsTypes.html#//apple_ref/doc/uid/10000060i-CH4-SW4
BUG=615122
Review-Url: https://codereview.chromium.org/2022843002
Cr-Commit-Position: refs/heads/master@{#398635}
(cherry picked from commit 74a646d254f3836d7df802857b5a926adc4ec87b)
Committed: https://chromium.googlesource.com/chromium/src/+/f069916c1f350baa4b7f6f2c6b3d9236aa1bdb94
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
|||||||||||||||||||