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

Issue 2552343008: Add slave touch device to touch_device_lookup_ and touch_device_list_ (Closed)

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

Description

Add slave touch device to touch_device_lookup_ and touch_device_list_ Unexpected MouseMove event when touch the touch screen issue is because we didn't add slave touch device to touch_device_lookup_ and touch_device_list_ then we got false when we check if it is from touch screen by sourceid(not device id). This patch we add slave touch device to touch_device_lookup_ and touch_device_list_. BUG=678074 Review-Url: https://codereview.chromium.org/2552343008 Cr-Commit-Position: refs/heads/master@{#456488} Committed: https://chromium.googlesource.com/chromium/src/+/1d64628a6b9a59469503b6a82a68606a09950d9a

Patch Set 1 #

Total comments: 1

Patch Set 2 : add slave touch screen to list and lookup #

Total comments: 2

Patch Set 3 : sadrul's comments addressed #

Total comments: 2

Patch Set 4 : set touch_device_list_[device] false if it is a slave device #

Total comments: 1

Patch Set 5 : remove cache list #

Patch Set 6 : add cache list back #

Total comments: 2

Patch Set 7 : sadrul's comment addressed. #

Total comments: 1

Patch Set 8 : fix a ) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -31 lines) Patch
M ui/events/devices/x11/touch_factory_x11.cc View 1 2 3 4 5 6 7 1 chunk +29 lines, -31 lines 0 comments Download

Messages

Total messages: 45 (26 generated)
chaopeng
PTAL
4 years ago (2016-12-08 03:58:24 UTC) #2
sadrul
+lanwei@ mind doing an initial review? Thanks! https://codereview.chromium.org/2552343008/diff/1/ui/events/devices/x11/touch_factory_x11.cc File ui/events/devices/x11/touch_factory_x11.cc (right): https://codereview.chromium.org/2552343008/diff/1/ui/events/devices/x11/touch_factory_x11.cc#newcode244 ui/events/devices/x11/touch_factory_x11.cc:244: return deviceid ...
4 years ago (2016-12-08 17:53:16 UTC) #8
chaopeng
On 2016/12/08 17:53:16, sadrul wrote: > +lanwei@ mind doing an initial review? Thanks! > > ...
4 years ago (2016-12-08 18:47:25 UTC) #9
chaopeng
On 2016/12/08 18:47:25, chaopeng wrote: > On 2016/12/08 17:53:16, sadrul wrote: > > +lanwei@ mind ...
4 years ago (2016-12-08 21:58:11 UTC) #11
lanwei
LGTM! The two lists, touch_device_lookup_ is not a duplicate of touch_device_list_. https://codesearch.chromium.org/chromium/src/ui/events/devices/x11/touch_factory_x11.cc?dr=C&q=IsValidDevice&sq=package:chromium&l=234 TouchFactory::SetTouchDeviceList onlys sets ...
4 years ago (2016-12-08 22:07:15 UTC) #12
sadrul
https://codereview.chromium.org/2552343008/diff/20001/ui/events/devices/x11/touch_factory_x11.cc File ui/events/devices/x11/touch_factory_x11.cc (right): https://codereview.chromium.org/2552343008/diff/20001/ui/events/devices/x11/touch_factory_x11.cc#newcode129 ui/events/devices/x11/touch_factory_x11.cc:129: touch_device_list_[devinfo.deviceid] = false; I think this is getting fairly ...
4 years ago (2016-12-12 16:02:06 UTC) #13
chaopeng
On 2016/12/12 16:02:06, sadrul wrote: > https://codereview.chromium.org/2552343008/diff/20001/ui/events/devices/x11/touch_factory_x11.cc > File ui/events/devices/x11/touch_factory_x11.cc (right): > > https://codereview.chromium.org/2552343008/diff/20001/ui/events/devices/x11/touch_factory_x11.cc#newcode129 > ...
4 years ago (2016-12-12 16:35:37 UTC) #15
chaopeng
https://codereview.chromium.org/2552343008/diff/60001/ui/events/devices/x11/touch_factory_x11.cc File ui/events/devices/x11/touch_factory_x11.cc (right): https://codereview.chromium.org/2552343008/diff/60001/ui/events/devices/x11/touch_factory_x11.cc#newcode123 ui/events/devices/x11/touch_factory_x11.cc:123: pointer_device_lookup_[devinfo.deviceid] = true; It looks like we should also ...
4 years ago (2016-12-12 16:35:43 UTC) #16
sadrul
https://codereview.chromium.org/2552343008/diff/60001/ui/events/devices/x11/touch_factory_x11.cc File ui/events/devices/x11/touch_factory_x11.cc (right): https://codereview.chromium.org/2552343008/diff/60001/ui/events/devices/x11/touch_factory_x11.cc#newcode123 ui/events/devices/x11/touch_factory_x11.cc:123: pointer_device_lookup_[devinfo.deviceid] = true; On 2016/12/12 16:35:43, chaopeng wrote: > ...
4 years ago (2016-12-12 18:56:11 UTC) #19
chaopeng
On 2016/12/12 18:56:11, sadrul wrote: > https://codereview.chromium.org/2552343008/diff/60001/ui/events/devices/x11/touch_factory_x11.cc > File ui/events/devices/x11/touch_factory_x11.cc (right): > > https://codereview.chromium.org/2552343008/diff/60001/ui/events/devices/x11/touch_factory_x11.cc#newcode123 > ...
4 years ago (2016-12-22 16:20:32 UTC) #23
sadrul
Can you update the CL description and refer to the bug# in BUG= line? https://codereview.chromium.org/2552343008/diff/80001/ui/events/devices/x11/touch_factory_x11.cc ...
3 years, 11 months ago (2017-01-03 17:01:51 UTC) #24
chaopeng
On 2017/01/03 17:01:51, sadrul wrote: > Can you update the CL description and refer to ...
3 years, 11 months ago (2017-01-05 18:54:21 UTC) #26
lanwei
https://codereview.chromium.org/2552343008/diff/120001/ui/events/devices/x11/touch_factory_x11.cc File ui/events/devices/x11/touch_factory_x11.cc (right): https://codereview.chromium.org/2552343008/diff/120001/ui/events/devices/x11/touch_factory_x11.cc#newcode111 ui/events/devices/x11/touch_factory_x11.cc:111: touch_device_list_[devinfo.deviceid] = Can you please check what touch_device_list_ really ...
3 years, 11 months ago (2017-01-11 19:40:12 UTC) #27
chaopeng
On 2017/01/11 19:40:12, lanwei wrote: > https://codereview.chromium.org/2552343008/diff/120001/ui/events/devices/x11/touch_factory_x11.cc > File ui/events/devices/x11/touch_factory_x11.cc (right): > > https://codereview.chromium.org/2552343008/diff/120001/ui/events/devices/x11/touch_factory_x11.cc#newcode111 > ...
3 years, 9 months ago (2017-03-08 15:38:10 UTC) #28
sadrul
Sorry about sitting on the CL. I had to look at the current code to ...
3 years, 9 months ago (2017-03-10 18:52:01 UTC) #37
chaopeng
On 2017/03/10 18:52:01, sadrul wrote: > Sorry about sitting on the CL. I had to ...
3 years, 9 months ago (2017-03-10 20:06:46 UTC) #38
sadrul
> 1. The comment for this touch_device_list_ is wrong, it does not represent multi > ...
3 years, 9 months ago (2017-03-10 20:28:57 UTC) #39
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/2552343008/160001
3 years, 9 months ago (2017-03-13 19:14:53 UTC) #42
commit-bot: I haz the power
3 years, 9 months ago (2017-03-13 21:23:37 UTC) #45
Message was sent while issue was closed.
Committed patchset #8 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/1d64628a6b9a59469503b6a82a68...

Powered by Google App Engine
This is Rietveld 408576698