DescriptionCorrect behaviour of touch wrt mouse capture.
We short circuit emulated mouse events (they are emulated on a touch) so
that these events don't get passed to javascript. The short circuit logic
also short-circuited the mouse capture/release logic, which caused failure
when touch happened during a mouse-capture.
This commit ensures that only the call to ForwardMouseEvent is short-
circuited for emulated events.
BUG=132068
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148547
Patch Set 1 #
Total comments: 2
Patch Set 2 : Factored out common code. #
Total comments: 6
Patch Set 3 : Clean-up #
Total comments: 2
Patch Set 4 : Moved IsMouseEventFromTouch from base/win to ui/base/win #
Messages
Total messages: 14 (0 generated)
|