Chromium Code Reviews
DescriptionFixed Android text selection by redefining |button| value.
The |button| field in WebPointerProperties (used in WebMouseEvent and
WebTouchPoint) follows the dom UI Events spec which is well-defined for
mousedown/up events and for single-button-presses in other events. For
Android WebMouseEvents (enabled recently), we initially set this value
following the PointerEvent spec (which covers the multi-button-press
case perfectly) then discovered that text selection is not working. We
also discovered a bunch of other functionalities that depend on UI
Events like assumptions.
This CL refines Android |button| field to match other platforms, thus
fixes text selection.
BUG=666060
Review-Url: https://codereview.chromium.org/2639623002
Cr-Commit-Position: refs/heads/master@{#452150}
Committed: https://chromium.googlesource.com/chromium/src/+/58aea4974d2230c5900f79d9d6344747033a6500
Patch Set 1 #Patch Set 2 : Fixed mouse button assumptions in SelectionController. #Patch Set 3 : Switched to matching Android button to other platforms. #Patch Set 4 : Updated comments, renamed vars, git cl format. #Patch Set 5 : Fixed WebPointerProperties comment. #Messages
Total messages: 27 (16 generated)
|