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

Issue 864253002: Dump property values for the touch log source (Closed)

Created:
5 years, 11 months ago by Shecky Lin
Modified:
5 years, 10 months ago
CC:
chromium-reviews, ozone-reviews_chromium.org, nkostylev+watch_chromium.org, tdresser+watch_chromium.org, jdduke+watch_chromium.org, oshima+watch_chromium.org, kalyank, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Dump property values for the touch log source The CL dumps gesture property values for touch devices that run with the CrOS gesture library. The format is designed to be backward-compatible with the X11 behaviour. Contributed by sheckylin@chromium.org BUG=450159 TEST=samus ChromeOS build Committed: https://crrev.com/8b1fb4fdf2b13b71e969cd541e500549163f742b Cr-Commit-Position: refs/heads/master@{#313446} Committed: https://crrev.com/e09a9b07f189a5ae9cd5f01cba6be9b97e76cad1 Cr-Commit-Position: refs/heads/master@{#313555}

Patch Set 1 #

Patch Set 2 : Sort property values. #

Total comments: 8

Patch Set 3 : Fixed nits. #

Total comments: 1

Patch Set 4 : Change to use asynchronous callbacks #

Patch Set 5 : Use base::WorkerPool to post task in input_controller_evdev #

Total comments: 10

Patch Set 6 : Cleaned up callback hops #

Total comments: 2

Patch Set 7 : run task on the UI thread instead #

Patch Set 8 : update comments #

Patch Set 9 : fix ifdefs #

Total comments: 2

Patch Set 10 : fixed ifdefs again #

Patch Set 11 : fixed typo #

Patch Set 12 : fix %lu -> %zu #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -9 lines) Patch
M chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc View 1 2 3 4 5 6 7 4 chunks +31 lines, -9 lines 0 comments Download
M ui/events/ozone/evdev/input_controller_evdev.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/ozone/evdev/input_controller_evdev.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +86 lines, -0 lines 0 comments Download
M ui/events/ozone/evdev/libgestures_glue/gesture_property_provider.h View 1 chunk +7 lines, -0 lines 0 comments Download
M ui/events/ozone/evdev/libgestures_glue/gesture_property_provider.cc View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
M ui/ozone/public/input_controller.h View 1 2 3 4 5 3 chunks +8 lines, -0 lines 0 comments Download
M ui/ozone/public/input_controller.cc View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (6 generated)
Shecky Lin
Hey guys, This is the 1st CL to implement the touch log collection. Please take ...
5 years, 11 months ago (2015-01-22 08:25:18 UTC) #2
achuithb
lgtm to me. please wait for others. https://codereview.chromium.org/864253002/diff/20001/chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc File chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc (right): https://codereview.chromium.org/864253002/diff/20001/chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc#newcode35 chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc:35: (*response)["hack-33025-touchpad"] = ...
5 years, 11 months ago (2015-01-22 20:42:12 UTC) #3
Shecky Lin
Done with achuith's comments. Thanks! spang/alexst: could you take a look of the ozone part ...
5 years, 11 months ago (2015-01-23 07:46:47 UTC) #4
spang
https://codereview.chromium.org/864253002/diff/40001/ui/ozone/public/input_controller.h File ui/ozone/public/input_controller.h (right): https://codereview.chromium.org/864253002/diff/40001/ui/ozone/public/input_controller.h#newcode60 ui/ozone/public/input_controller.h:60: virtual std::string GetGestureDeviceStatus() = 0; This needs to be ...
5 years, 11 months ago (2015-01-23 18:39:43 UTC) #5
Shecky Lin
On 2015/01/23 18:39:43, spang wrote: > https://codereview.chromium.org/864253002/diff/40001/ui/ozone/public/input_controller.h > File ui/ozone/public/input_controller.h (right): > > https://codereview.chromium.org/864253002/diff/40001/ui/ozone/public/input_controller.h#newcode60 > ...
5 years, 11 months ago (2015-01-24 05:58:55 UTC) #6
Shecky Lin
On 2015/01/24 05:58:55, Shecky Lin wrote: > On 2015/01/23 18:39:43, spang wrote: > > > ...
5 years, 11 months ago (2015-01-24 07:41:44 UTC) #7
spang
On 2015/01/24 07:41:44, Shecky Lin wrote: > On 2015/01/24 05:58:55, Shecky Lin wrote: > > ...
5 years, 11 months ago (2015-01-26 18:04:37 UTC) #8
Shecky Lin
I have updated the patch to make it asynchronous. However, I ran into the following ...
5 years, 11 months ago (2015-01-27 01:29:14 UTC) #9
achuithb
This usually points to a structural problem. I believe you can't include something from content ...
5 years, 11 months ago (2015-01-27 01:32:48 UTC) #10
Shecky Lin
Yeah, looks like the best we can get over there to post tasks is base::WorkerPool. ...
5 years, 11 months ago (2015-01-27 01:57:15 UTC) #11
spang
https://codereview.chromium.org/864253002/diff/80001/chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc File chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc (left): https://codereview.chromium.org/864253002/diff/80001/chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc#oldcode24 chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc:24: ash::TouchHudDebug::GetAllAsDictionary(); This seems scary.. what makes it safe to ...
5 years, 11 months ago (2015-01-27 20:15:13 UTC) #12
Shecky Lin
On 2015/01/27 20:15:13, spang wrote: > https://codereview.chromium.org/864253002/diff/80001/chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc > File chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc (left): > > https://codereview.chromium.org/864253002/diff/80001/chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc#oldcode24 > ...
5 years, 11 months ago (2015-01-27 20:31:44 UTC) #13
spang
Please respond to each comment individually using rietveld so it shows up in the right ...
5 years, 11 months ago (2015-01-27 20:42:05 UTC) #15
spang
https://codereview.chromium.org/864253002/diff/80001/chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc File chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc (right): https://codereview.chromium.org/864253002/diff/80001/chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc#newcode78 chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc:78: base::Bind(&CollectStatusLog, response, callback)); On 2015/01/27 20:15:12, spang wrote: > ...
5 years, 11 months ago (2015-01-27 20:42:37 UTC) #16
spang
https://codereview.chromium.org/864253002/diff/80001/chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc File chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc (right): https://codereview.chromium.org/864253002/diff/80001/chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc#newcode78 chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc:78: base::Bind(&CollectStatusLog, response, callback)); On 2015/01/27 20:15:12, spang wrote: > ...
5 years, 11 months ago (2015-01-27 20:42:38 UTC) #17
spang
https://codereview.chromium.org/864253002/diff/80001/chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc File chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc (left): https://codereview.chromium.org/864253002/diff/80001/chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc#oldcode24 chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc:24: ash::TouchHudDebug::GetAllAsDictionary(); On 2015/01/27 20:15:13, spang wrote: > This seems ...
5 years, 11 months ago (2015-01-27 20:44:56 UTC) #18
Shecky Lin
https://codereview.chromium.org/864253002/diff/80001/chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc File chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc (left): https://codereview.chromium.org/864253002/diff/80001/chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc#oldcode24 chrome/browser/chromeos/system_logs/touch_log_source_ozone.cc:24: ash::TouchHudDebug::GetAllAsDictionary(); On 2015/01/27 20:44:56, spang wrote: > On 2015/01/27 ...
5 years, 11 months ago (2015-01-27 23:08:16 UTC) #19
spang
thanks! one last thing https://codereview.chromium.org/864253002/diff/100001/ui/events/ozone/evdev/input_controller_evdev.cc File ui/events/ozone/evdev/input_controller_evdev.cc (right): https://codereview.chromium.org/864253002/diff/100001/ui/events/ozone/evdev/input_controller_evdev.cc#newcode263 ui/events/ozone/evdev/input_controller_evdev.cc:263: base::WorkerPool::PostTaskAndReply( You cannot dereference EventFactoryEvdev* ...
5 years, 11 months ago (2015-01-27 23:13:08 UTC) #20
Shecky Lin
https://codereview.chromium.org/864253002/diff/100001/ui/events/ozone/evdev/input_controller_evdev.cc File ui/events/ozone/evdev/input_controller_evdev.cc (right): https://codereview.chromium.org/864253002/diff/100001/ui/events/ozone/evdev/input_controller_evdev.cc#newcode263 ui/events/ozone/evdev/input_controller_evdev.cc:263: base::WorkerPool::PostTaskAndReply( On 2015/01/27 23:13:08, spang wrote: > You cannot ...
5 years, 11 months ago (2015-01-27 23:40:12 UTC) #21
spang
lgtm
5 years, 11 months ago (2015-01-27 23:43:46 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/864253002/140001
5 years, 11 months ago (2015-01-27 23:45:29 UTC) #24
spang
On 2015/01/27 23:45:29, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
5 years, 11 months ago (2015-01-28 00:33:00 UTC) #26
Shecky Lin
On 2015/01/28 00:33:00, spang wrote: > On 2015/01/27 23:45:29, I haz the power (commit-bot) wrote: ...
5 years, 11 months ago (2015-01-28 00:40:25 UTC) #27
spang
https://codereview.chromium.org/864253002/diff/160001/ui/events/ozone/evdev/input_controller_evdev.cc File ui/events/ozone/evdev/input_controller_evdev.cc (right): https://codereview.chromium.org/864253002/diff/160001/ui/events/ozone/evdev/input_controller_evdev.cc#newcode266 ui/events/ozone/evdev/input_controller_evdev.cc:266: std::string* status_ptr = status.get(); Probably better to do something ...
5 years, 11 months ago (2015-01-28 00:50:47 UTC) #28
Shecky Lin
https://codereview.chromium.org/864253002/diff/160001/ui/events/ozone/evdev/input_controller_evdev.cc File ui/events/ozone/evdev/input_controller_evdev.cc (right): https://codereview.chromium.org/864253002/diff/160001/ui/events/ozone/evdev/input_controller_evdev.cc#newcode266 ui/events/ozone/evdev/input_controller_evdev.cc:266: std::string* status_ptr = status.get(); On 2015/01/28 00:50:47, spang wrote: ...
5 years, 11 months ago (2015-01-28 01:02:00 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/864253002/200001
5 years, 11 months ago (2015-01-28 01:47:30 UTC) #31
commit-bot: I haz the power
Committed patchset #11 (id:200001)
5 years, 10 months ago (2015-01-28 04:25:42 UTC) #32
commit-bot: I haz the power
Patchset 11 (id:??) landed as https://crrev.com/8b1fb4fdf2b13b71e969cd541e500549163f742b Cr-Commit-Position: refs/heads/master@{#313446}
5 years, 10 months ago (2015-01-28 04:27:44 UTC) #33
James Cook
A revert of this CL (patchset #11 id:200001) has been created in https://codereview.chromium.org/881353002/ by jamescook@chromium.org. ...
5 years, 10 months ago (2015-01-28 16:25:38 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/864253002/220001
5 years, 10 months ago (2015-01-28 18:17:41 UTC) #36
commit-bot: I haz the power
Committed patchset #12 (id:220001)
5 years, 10 months ago (2015-01-28 19:04:51 UTC) #37
commit-bot: I haz the power
5 years, 10 months ago (2015-01-28 19:05:52 UTC) #38
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/e09a9b07f189a5ae9cd5f01cba6be9b97e76cad1
Cr-Commit-Position: refs/heads/master@{#313555}

Powered by Google App Engine
This is Rietveld 408576698