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

Issue 387863003: aura: Do not synthesize a mouse-move event during a drag. (Closed)

Created:
6 years, 5 months ago by sadrul
Modified:
6 years, 5 months ago
Reviewers:
oshima
CC:
chromium-reviews, ben+aura_chromium.org, kalyank
Project:
chromium
Visibility:
Public.

Description

aura: Do not synthesize a mouse-move event during a drag. Synthesizing a mouse-move event during a drag can cause an inconsistent sequence of events to be dispatched (e.g. pressed, dragged, dragged, moved, dragged ... released). So do not synthesize mouse-move events when a drag is in progress. The alternate is to synthesize mouse-dragged event instead of a mouse-move event, but in multi-display/multi-host setting, the wrong dispatcher may end up synthesizing the event. So avoid doing that. BUG=389424, 369247, 366096 R=oshima@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282805

Patch Set 1 #

Patch Set 2 : test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -0 lines) Patch
M ui/aura/window_event_dispatcher.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M ui/aura/window_event_dispatcher_unittest.cc View 1 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
sadrul
6 years, 5 months ago (2014-07-11 18:42:32 UTC) #1
oshima
lgtm
6 years, 5 months ago (2014-07-12 05:57:42 UTC) #2
sadrul
6 years, 5 months ago (2014-07-12 06:18:25 UTC) #3
Message was sent while issue was closed.
Committed patchset #2 manually as r282805 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698