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

Issue 10175002: Fix scaling for aura::GestureEvent and aura::TouchEvent (Closed)

Created:
8 years, 8 months ago by pkotwicz
Modified:
8 years, 8 months ago
Reviewers:
sadrul, sky
CC:
chromium-reviews, tfarina, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

In High DPI mode we set transform which includes a scale factor. Fix gesture events and touch events to scale delta and touch radius information as well Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133604

Patch Set 1 #

Total comments: 3

Patch Set 2 : Removed GestureEvent handling #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -4 lines) Patch
M ui/aura/event.h View 1 3 chunks +9 lines, -4 lines 0 comments Download
M ui/aura/event.cc View 1 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
pkotwicz
8 years, 8 months ago (2012-04-22 19:24:55 UTC) #1
sadrul
http://codereview.chromium.org/10175002/diff/1/ui/aura/event.cc File ui/aura/event.cc (right): http://codereview.chromium.org/10175002/diff/1/ui/aura/event.cc#newcode471 ui/aura/event.cc:471: delta_y_ *= scale.y(); Are you sure the change here ...
8 years, 8 months ago (2012-04-22 19:35:55 UTC) #2
pkotwicz
http://codereview.chromium.org/10175002/diff/1/ui/aura/event.cc File ui/aura/event.cc (right): http://codereview.chromium.org/10175002/diff/1/ui/aura/event.cc#newcode471 ui/aura/event.cc:471: delta_y_ *= scale.y(); You are right that UpdateForRootTransform is ...
8 years, 8 months ago (2012-04-23 00:15:40 UTC) #3
sadrul
http://codereview.chromium.org/10175002/diff/1/ui/aura/event.cc File ui/aura/event.cc (right): http://codereview.chromium.org/10175002/diff/1/ui/aura/event.cc#newcode471 ui/aura/event.cc:471: delta_y_ *= scale.y(); On 2012/04/23 00:15:40, pkotwicz wrote: > ...
8 years, 8 months ago (2012-04-23 01:13:51 UTC) #4
pkotwicz
Remove GestureEvent handling as suggested by sadrul
8 years, 8 months ago (2012-04-23 20:50:40 UTC) #5
sadrul
LGTM
8 years, 8 months ago (2012-04-23 22:48:20 UTC) #6
pkotwicz
sky for OWNERS
8 years, 8 months ago (2012-04-23 22:59:34 UTC) #7
sky
LGTM
8 years, 8 months ago (2012-04-23 23:41:37 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/10175002/6001
8 years, 8 months ago (2012-04-23 23:54:07 UTC) #9
commit-bot: I haz the power
8 years, 8 months ago (2012-04-24 02:16:03 UTC) #10
Change committed as 133604

Powered by Google App Engine
This is Rietveld 408576698