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

Issue 2720133002: Make pinch zoom work on chromeos by setting touch id correctly (Closed)

Created:
3 years, 9 months ago by lanwei
Modified:
3 years, 9 months ago
Reviewers:
sadrul, wjmaclean, dtapuska
CC:
chromium-reviews, kalyank, ozone-reviews_chromium.org, tdresser+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make pinch zoom work on chromeos by setting touch id correctly In EventFactoryEvdev, the touch id is reset to default value 0 after setting a PointerDetails object, which causes two touch pointer have the same id, and pinch zoom does not work. We need to set the touch id in PointerDetails and check in all the set_pointer_details to make sure that id is not reset to default. BUG=695905, 696369 Review-Url: https://codereview.chromium.org/2720133002 Cr-Commit-Position: refs/heads/master@{#454378} Committed: https://chromium.googlesource.com/chromium/src/+/de104fb57e491bef3f2883f5a9100b9524fb0e3c

Patch Set 1 #

Patch Set 2 : pinch zoom on chromeos #

Total comments: 4

Patch Set 3 : pinch zoom on chromeos #

Total comments: 1

Patch Set 4 : pinch zoom #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -8 lines) Patch
M ui/events/event.h View 1 2 chunks +2 lines, -6 lines 0 comments Download
M ui/events/event.cc View 1 2 3 2 chunks +14 lines, -0 lines 0 comments Download
M ui/events/event_unittest.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M ui/events/ozone/evdev/event_factory_evdev.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 56 (43 generated)
lanwei
3 years, 9 months ago (2017-02-27 22:46:48 UTC) #7
lanwei
Sadrul, having id in both TouchEvent and PointerDetailas constructors seems to be a potential problem. ...
3 years, 9 months ago (2017-02-27 22:56:43 UTC) #8
spang
On 2017/02/27 22:56:43, lanwei wrote: > Sadrul, having id in both TouchEvent and PointerDetailas constructors ...
3 years, 9 months ago (2017-02-27 22:58:54 UTC) #10
sadrul
On 2017/02/27 22:58:54, spang wrote: > On 2017/02/27 22:56:43, lanwei wrote: > > Sadrul, having ...
3 years, 9 months ago (2017-02-28 16:48:21 UTC) #11
lanwei
3 years, 9 months ago (2017-03-01 00:48:58 UTC) #27
sadrul
https://codereview.chromium.org/2720133002/diff/60001/ui/events/event.cc File ui/events/event.cc (right): https://codereview.chromium.org/2720133002/diff/60001/ui/events/event.cc#newcode766 ui/events/event.cc:766: if (details.pointer_type == EventPointerType::POINTER_TYPE_TOUCH) { For MouseEvent, when do ...
3 years, 9 months ago (2017-03-01 15:35:59 UTC) #28
lanwei
https://codereview.chromium.org/2720133002/diff/60001/ui/events/event.cc File ui/events/event.cc (right): https://codereview.chromium.org/2720133002/diff/60001/ui/events/event.cc#newcode766 ui/events/event.cc:766: if (details.pointer_type == EventPointerType::POINTER_TYPE_TOUCH) { On 2017/03/01 15:35:59, sadrul ...
3 years, 9 months ago (2017-03-01 20:12:22 UTC) #34
wjmaclean
A drive-by nit: It's not at all apparent how the title of this issue ("Make ...
3 years, 9 months ago (2017-03-01 22:38:47 UTC) #36
dtapuska
On 2017/03/01 22:38:47, wjmaclean wrote: > A drive-by nit: It's not at all apparent how ...
3 years, 9 months ago (2017-03-02 02:42:53 UTC) #37
dtapuska
On 2017/03/02 02:42:53, dtapuska wrote: > On 2017/03/01 22:38:47, wjmaclean wrote: > > A drive-by ...
3 years, 9 months ago (2017-03-02 02:44:49 UTC) #38
sadrul
lgtm https://codereview.chromium.org/2720133002/diff/80001/ui/events/event.cc File ui/events/event.cc (right): https://codereview.chromium.org/2720133002/diff/80001/ui/events/event.cc#newcode986 ui/events/event.cc:986: DCHECK(pointer_details_.id == 0 || pointer_details.id != 0); DCHECK_EQ(pointer_details_.id, ...
3 years, 9 months ago (2017-03-02 18:42:44 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2720133002/120001
3 years, 9 months ago (2017-03-02 21:17:13 UTC) #53
commit-bot: I haz the power
3 years, 9 months ago (2017-03-02 21:23:34 UTC) #56
Message was sent while issue was closed.
Committed patchset #4 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/de104fb57e491bef3f2883f5a910...

Powered by Google App Engine
This is Rietveld 408576698