DescriptionPrevent repeated taps from resetting insertion handle position
Repeated longpress and tap gestures were resetting the cached handle positions
in anticipation of receiving updated values from the renderer. However, if the
gesture failed to change the selection position, no update was received, and
subsequent taps on the handle would improperly position the paste popup at the
reset position. Fix this by avoiding cached position resets when the insertion
or selection is already active.
BUG=399222
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287256
Patch Set 1 #
Total comments: 1
Patch Set 2 : Did the changes and added unit tests as per the review comments #Patch Set 3 : Corrected the unit test to make selection empty #Patch Set 4 : Rebased the patch #
Messages
Total messages: 19 (0 generated)
|