DescriptionMagnification controller: fix incorrect point of interest.
MagnificationControllerImpl::OnMouseEvent() should not update
point of interest for mouse events of type ET_MOUSE_CAPTURE_CHANGED
because they do not contain valid coordinates.
BUG=312496
TEST=verified cursor no longer jumps
R=oshima@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250832
Patch Set 1 #Patch Set 2 : Add LocatedEvent::has_valid_location(). No functional change. #Patch Set 3 : Go back to patch set #1. Let's refactor has_valid_location separately. #Messages
Total messages: 8 (0 generated)
|