Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(456)

Issue 160953002: Magnification controller: fix incorrect point of interest. (Closed)

Created:
6 years, 10 months ago by hshi1
Modified:
6 years, 10 months ago
Reviewers:
oshima, sadrul
CC:
chromium-reviews, kalyank, sadrul, ben+ash_chromium.org
Visibility:
Public.

Description

Magnification 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. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M ash/magnifier/magnification_controller.cc View 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
hshi1
@oshima PTAL thanks! We should not update |point_of_interest_| for ET_MOUSE_CAPTURE_CHANGED events because they have no ...
6 years, 10 months ago (2014-02-12 19:47:59 UTC) #1
oshima
+sadrul It's a bit fragile to check if the location is valid this way. sadrul, ...
6 years, 10 months ago (2014-02-12 20:28:19 UTC) #2
hshi1
On 2014/02/12 20:28:19, oshima wrote: > +sadrul > > It's a bit fragile to check ...
6 years, 10 months ago (2014-02-12 21:14:47 UTC) #3
hshi1
On 2014/02/12 21:14:47, hshi1 wrote: > On 2014/02/12 20:28:19, oshima wrote: > > +sadrul > ...
6 years, 10 months ago (2014-02-12 22:04:17 UTC) #4
oshima
lgtm
6 years, 10 months ago (2014-02-12 22:07:57 UTC) #5
hshi1
The CQ bit was checked by hshi@chromium.org
6 years, 10 months ago (2014-02-12 22:12:23 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hshi@chromium.org/160953002/180001
6 years, 10 months ago (2014-02-12 22:13:10 UTC) #7
hshi1
6 years, 10 months ago (2014-02-12 23:19:35 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 manually as r250832 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698