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

Issue 618283003: Adds special support to the device manager for keyboards devices. (Closed)

Created:
6 years, 2 months ago by rsadam
Modified:
6 years, 2 months ago
CC:
chromium-reviews, tdresser+watch_chromium.org, dnicoara, pkotwicz
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Adds special support to the device manager for keyboards devices. This is the first step in using presence of different types of keyboards in automatically deploying the virtual keyboard. BUG=373402 Committed: https://crrev.com/d761ce02ab03d1a40f053a9c054a5c0473d94906 Cr-Commit-Position: refs/heads/master@{#300764}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Added DeviceType::UNKNOWN #

Patch Set 3 : #

Total comments: 14

Patch Set 4 : Improved documentation. #

Patch Set 5 : Addressed concerns by sadrul@ #

Patch Set 6 : Add missing files. #

Patch Set 7 : #

Total comments: 20

Patch Set 8 : Filter out blocked keyboard devices. #

Patch Set 9 : Update device list on disable/enable. #

Total comments: 10

Patch Set 10 : Nits. #

Patch Set 11 : Change in ozone. #

Total comments: 6

Patch Set 12 : Made comparator anonymous. #

Total comments: 4

Patch Set 13 : #

Total comments: 2

Patch Set 14 : Fix blocked devices not updating. #

Total comments: 8

Patch Set 15 : Handle blocked devices being unplugged in and out + unittests. #

Total comments: 12

Patch Set 16 : #

Patch Set 17 : Add checks for Daisy. #

Total comments: 4

Patch Set 18 : #

Total comments: 6

Patch Set 19 : #

Total comments: 2

Patch Set 20 : Rebased to master. #

Patch Set 21 : Change empty vector init from {} to std::vector<>() in test file. #

Patch Set 22 : Do not run x11 test on non-x11 platforms. #

Total comments: 38

Patch Set 23 : Address comments by sky@ #

Patch Set 24 : Refactor ids to be unsigned ints. #

Total comments: 2

Patch Set 25 : Address nit. #

Patch Set 26 : Rebase to master. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+611 lines, -109 lines) Patch
M ash/display/display_change_observer_chromeos.h View 1 2 3 4 5 6 7 8 9 3 chunks +7 lines, -4 lines 0 comments Download
M ash/display/display_change_observer_chromeos.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +6 lines, -1 line 0 comments Download
M ash/display/display_info.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +3 lines, -3 lines 0 comments Download
M ash/touch/touch_transformer_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +3 lines, -4 lines 0 comments Download
M ash/touch/touch_transformer_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 5 chunks +7 lines, -6 lines 0 comments Download
M ash/touch/touchscreen_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +2 lines, -1 line 0 comments Download
M ash/touch/touchscreen_util_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +32 lines, -18 lines 0 comments Download
M ui/events/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +6 lines, -0 lines 0 comments Download
M ui/events/device_data_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 5 chunks +18 lines, -11 lines 0 comments Download
M ui/events/device_data_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 5 chunks +38 lines, -7 lines 0 comments Download
M ui/events/device_hotplug_event_observer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +12 lines, -2 lines 0 comments Download
M ui/events/events.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +5 lines, -0 lines 0 comments Download
A ui/events/input_device.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +39 lines, -0 lines 0 comments Download
A ui/events/input_device.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +23 lines, -0 lines 0 comments Download
M ui/events/input_device_event_observer.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
A ui/events/keyboard_device.h View 1 2 3 4 1 chunk +22 lines, -0 lines 0 comments Download
A ui/events/keyboard_device.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +19 lines, -0 lines 0 comments Download
M ui/events/ozone/evdev/event_factory_evdev.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +5 lines, -3 lines 0 comments Download
M ui/events/touchscreen_device.h View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -10 lines 0 comments Download
M ui/events/touchscreen_device.cc View 1 2 3 4 1 chunk +8 lines, -6 lines 0 comments Download
M ui/events/x/device_data_manager_x11.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 6 chunks +38 lines, -28 lines 0 comments Download
M ui/events/x/device_data_manager_x11.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 5 chunks +60 lines, -1 line 0 comments Download
A ui/events/x/device_data_manager_x11_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +182 lines, -0 lines 0 comments Download
M ui/events/x/hotplug_event_handler_x11.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/x/hotplug_event_handler_x11.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 5 chunks +65 lines, -3 lines 0 comments Download

Messages

Total messages: 84 (17 generated)
rsadam
Hey Sadrul, PTAL!
6 years, 2 months ago (2014-10-01 20:57:18 UTC) #2
rsadam
+flackr, dnicoara
6 years, 2 months ago (2014-10-01 21:27:05 UTC) #4
dnicoara
+ kpschoedel@ since he's been working on X11 & keyboards for a while now. https://codereview.chromium.org/618283003/diff/1/ui/events/device_hotplug_event_observer.h ...
6 years, 2 months ago (2014-10-02 13:58:20 UTC) #6
rsadam
https://codereview.chromium.org/618283003/diff/1/ui/events/device_hotplug_event_observer.h File ui/events/device_hotplug_event_observer.h (right): https://codereview.chromium.org/618283003/diff/1/ui/events/device_hotplug_event_observer.h#newcode19 ui/events/device_hotplug_event_observer.h:19: // On a hotplug event this is called with ...
6 years, 2 months ago (2014-10-02 14:59:31 UTC) #7
flackr
https://codereview.chromium.org/618283003/diff/1/ui/events/x/hotplug_event_handler_x11.cc File ui/events/x/hotplug_event_handler_x11.cc (right): https://codereview.chromium.org/618283003/diff/1/ui/events/x/hotplug_event_handler_x11.cc#newcode38 ui/events/x/hotplug_event_handler_x11.cc:38: bool IsKeyboard(std::string name) { On 2014/10/02 13:58:20, dnicoara wrote: ...
6 years, 2 months ago (2014-10-02 15:41:10 UTC) #8
rsadam
https://codereview.chromium.org/618283003/diff/40001/ui/events/keyboard_device.h File ui/events/keyboard_device.h (right): https://codereview.chromium.org/618283003/diff/40001/ui/events/keyboard_device.h#newcode12 ui/events/keyboard_device.h:12: enum KeyboardDeviceType { On 2014/10/02 15:41:10, flackr wrote: > ...
6 years, 2 months ago (2014-10-02 15:50:05 UTC) #9
sadrul
[ My comments are in patchset 3. Looks like you have already uploaded a new ...
6 years, 2 months ago (2014-10-02 15:53:54 UTC) #10
rsadam
The motivation between using two methods and removing ONINputDeviceConfigurationChanged was as follows: If we call ...
6 years, 2 months ago (2014-10-02 22:52:28 UTC) #11
sadrul
Looks like ui/events/input_device* files are missing?
6 years, 2 months ago (2014-10-03 16:34:54 UTC) #12
rsadam
Oops, forgot to git add them.
6 years, 2 months ago (2014-10-03 16:54:03 UTC) #13
flackr
https://codereview.chromium.org/618283003/diff/120001/ui/events/device_data_manager.cc File ui/events/device_data_manager.cc (right): https://codereview.chromium.org/618283003/diff/120001/ui/events/device_data_manager.cc#newcode129 ui/events/device_data_manager.cc:129: std::equal(devices.begin(), devices.end(), Did you mean !std::equal(...? https://codereview.chromium.org/618283003/diff/120001/ui/events/device_data_manager.cc#newcode130 ui/events/device_data_manager.cc:130: touchscreen_devices_.begin(), ...
6 years, 2 months ago (2014-10-04 00:35:13 UTC) #14
flackr
https://codereview.chromium.org/618283003/diff/120001/ui/events/device_data_manager.h File ui/events/device_data_manager.h (right): https://codereview.chromium.org/618283003/diff/120001/ui/events/device_data_manager.h#newcode71 ui/events/device_data_manager.h:71: const std::vector<KeyboardDevice>& devices) OVERRIDE; Can you override this in ...
6 years, 2 months ago (2014-10-04 00:51:31 UTC) #15
rsadam
https://codereview.chromium.org/618283003/diff/120001/ui/events/device_data_manager.cc File ui/events/device_data_manager.cc (right): https://codereview.chromium.org/618283003/diff/120001/ui/events/device_data_manager.cc#newcode129 ui/events/device_data_manager.cc:129: std::equal(devices.begin(), devices.end(), On 2014/10/04 00:35:12, flackr wrote: > Did ...
6 years, 2 months ago (2014-10-04 18:46:27 UTC) #16
rsadam
Actually this approach may not necessarily work, since we do not update observers when we ...
6 years, 2 months ago (2014-10-04 19:19:28 UTC) #17
flackr
On 2014/10/04 19:19:28, rsadam wrote: > Actually this approach may not necessarily work, since we ...
6 years, 2 months ago (2014-10-04 19:29:14 UTC) #18
rsadam
6 years, 2 months ago (2014-10-04 20:04:55 UTC) #19
rsadam
> Just need to make blocking and unblocking trigger an update of the device list ...
6 years, 2 months ago (2014-10-04 20:06:30 UTC) #20
pkotwicz
A couple of nits. Please make sure that this compiles under ozone as well. https://codereview.chromium.org/618283003/diff/160001/ash/display/display_change_observer_chromeos.h ...
6 years, 2 months ago (2014-10-05 18:53:02 UTC) #22
rsadam
https://codereview.chromium.org/618283003/diff/160001/ash/display/display_change_observer_chromeos.h File ash/display/display_change_observer_chromeos.h (right): https://codereview.chromium.org/618283003/diff/160001/ash/display/display_change_observer_chromeos.h#newcode52 ash/display/display_change_observer_chromeos.h:52: virtual void OnKeyboardDeviceConfigurationChanged() OVERRIDE; On 2014/10/05 18:53:02, pkotwicz wrote: ...
6 years, 2 months ago (2014-10-06 15:40:17 UTC) #23
kpschoedel
https://codereview.chromium.org/618283003/diff/160001/ui/events/x/hotplug_event_handler_x11.cc File ui/events/x/hotplug_event_handler_x11.cc (right): https://codereview.chromium.org/618283003/diff/160001/ui/events/x/hotplug_event_handler_x11.cc#newcode33 ui/events/x/hotplug_event_handler_x11.cc:33: const char kInternalKeyboardName[] = "AT Translated Set 2 keyboard"; ...
6 years, 2 months ago (2014-10-06 17:16:20 UTC) #24
rsadam
On 2014/10/06 17:16:20, kpschoedel wrote: > https://codereview.chromium.org/618283003/diff/160001/ui/events/x/hotplug_event_handler_x11.cc > File ui/events/x/hotplug_event_handler_x11.cc (right): > > https://codereview.chromium.org/618283003/diff/160001/ui/events/x/hotplug_event_handler_x11.cc#newcode33 > ...
6 years, 2 months ago (2014-10-06 17:29:08 UTC) #25
kpschoedel
On 2014/10/06 17:29:08, rsadam wrote: > I believe this is standard and therefore true for ...
6 years, 2 months ago (2014-10-06 17:52:06 UTC) #28
flackr
https://codereview.chromium.org/618283003/diff/160001/ui/events/x/hotplug_event_handler_x11.cc File ui/events/x/hotplug_event_handler_x11.cc (right): https://codereview.chromium.org/618283003/diff/160001/ui/events/x/hotplug_event_handler_x11.cc#newcode33 ui/events/x/hotplug_event_handler_x11.cc:33: const char kInternalKeyboardName[] = "AT Translated Set 2 keyboard"; ...
6 years, 2 months ago (2014-10-06 18:31:11 UTC) #29
rsadam
Created crbug.com/420728 and added a TODO to follow up on internal keyboards. https://codereview.chromium.org/618283003/diff/240001/ui/events/device_data_manager.cc File ui/events/device_data_manager.cc ...
6 years, 2 months ago (2014-10-06 19:38:01 UTC) #30
flackr
https://codereview.chromium.org/618283003/diff/260001/ui/events/events.gyp File ui/events/events.gyp (right): https://codereview.chromium.org/618283003/diff/260001/ui/events/events.gyp#newcode57 ui/events/events.gyp:57: 'keyboard_device.h', You probably also need to update BUILD.gn. You ...
6 years, 2 months ago (2014-10-06 21:14:53 UTC) #31
rsadam
https://codereview.chromium.org/618283003/diff/260001/ui/events/x/device_data_manager_x11.cc File ui/events/x/device_data_manager_x11.cc (right): https://codereview.chromium.org/618283003/diff/260001/ui/events/x/device_data_manager_x11.cc#newcode732 ui/events/x/device_data_manager_x11.cc:732: blocked_devices_)), On 2014/10/06 21:14:53, flackr wrote: > nit: Looks ...
6 years, 2 months ago (2014-10-07 05:25:05 UTC) #32
rsadam
Done! Verified it compiles with gn. https://codereview.chromium.org/618283003/diff/260001/ui/events/events.gyp File ui/events/events.gyp (right): https://codereview.chromium.org/618283003/diff/260001/ui/events/events.gyp#newcode57 ui/events/events.gyp:57: 'keyboard_device.h', On 2014/10/06 ...
6 years, 2 months ago (2014-10-07 05:25:38 UTC) #33
flackr
Looks good, was just thinking about what test coverage would be important and it looks ...
6 years, 2 months ago (2014-10-07 13:30:15 UTC) #34
rsadam
Test caught a bug in the re-enable phase. We need to keep track of the ...
6 years, 2 months ago (2014-10-07 18:35:25 UTC) #35
rsadam
-sadrul as a reviewer since he's on vacation for the next 3 weeks. https://codereview.chromium.org/618283003/diff/280001/ui/events/x/device_data_manager_x11.cc File ...
6 years, 2 months ago (2014-10-07 22:00:36 UTC) #38
rsadam
6 years, 2 months ago (2014-10-08 19:03:31 UTC) #41
rsadam
On 2014/10/07 18:35:25, rsadam wrote: > Test caught a bug in the re-enable phase. We ...
6 years, 2 months ago (2014-10-08 21:12:55 UTC) #42
flackr
https://codereview.chromium.org/618283003/diff/360001/ui/events/x/device_data_manager_x11.cc File ui/events/x/device_data_manager_x11.cc (right): https://codereview.chromium.org/618283003/diff/360001/ui/events/x/device_data_manager_x11.cc#newcode705 ui/events/x/device_data_manager_x11.cc:705: keyboards.end(), nit: Don't need to wrap this. https://codereview.chromium.org/618283003/diff/360001/ui/events/x/device_data_manager_x11.cc#newcode721 ui/events/x/device_data_manager_x11.cc:721: ...
6 years, 2 months ago (2014-10-08 21:58:11 UTC) #43
rsadam
https://codereview.chromium.org/618283003/diff/360001/ui/events/x/device_data_manager_x11.cc File ui/events/x/device_data_manager_x11.cc (right): https://codereview.chromium.org/618283003/diff/360001/ui/events/x/device_data_manager_x11.cc#newcode705 ui/events/x/device_data_manager_x11.cc:705: keyboards.end(), On 2014/10/08 21:58:11, flackr wrote: > nit: Don't ...
6 years, 2 months ago (2014-10-09 05:19:03 UTC) #44
kpschoedel
On 2014/10/06 17:29:08, rsadam wrote: > On 2014/10/06 17:16:20, kpschoedel wrote: > > > https://codereview.chromium.org/618283003/diff/160001/ui/events/x/hotplug_event_handler_x11.cc ...
6 years, 2 months ago (2014-10-10 15:51:52 UTC) #45
rsadam
On 2014/10/10 15:51:52, kpschoedel wrote: > On 2014/10/06 17:29:08, rsadam wrote: > > On 2014/10/06 ...
6 years, 2 months ago (2014-10-10 16:06:44 UTC) #46
flackr
https://codereview.chromium.org/618283003/diff/380001/ui/events/x/device_data_manager_x11.cc File ui/events/x/device_data_manager_x11.cc (right): https://codereview.chromium.org/618283003/diff/380001/ui/events/x/device_data_manager_x11.cc#newcode694 ui/events/x/device_data_manager_x11.cc:694: LOG(ERROR) << "Disable the device:" << deviceid; Remove this, ...
6 years, 2 months ago (2014-10-10 17:49:31 UTC) #47
rsadam
In the udev rules, atkbd driver corresponds to AT Translated Set 2 Keyboard, and cros-ec-keyb ...
6 years, 2 months ago (2014-10-14 17:32:19 UTC) #48
flackr
https://codereview.chromium.org/618283003/diff/380001/ui/events/x/device_data_manager_x11.cc File ui/events/x/device_data_manager_x11.cc (right): https://codereview.chromium.org/618283003/diff/380001/ui/events/x/device_data_manager_x11.cc#newcode704 ui/events/x/device_data_manager_x11.cc:704: id, On 2014/10/14 17:32:19, rsadam wrote: > On 2014/10/10 ...
6 years, 2 months ago (2014-10-14 17:41:36 UTC) #49
rsadam
https://codereview.chromium.org/618283003/diff/380001/ui/events/x/device_data_manager_x11.cc File ui/events/x/device_data_manager_x11.cc (right): https://codereview.chromium.org/618283003/diff/380001/ui/events/x/device_data_manager_x11.cc#newcode706 ui/events/x/device_data_manager_x11.cc:706: OnKeyboardDevicesUpdated(keyboards); On 2014/10/14 17:41:35, flackr wrote: > On 2014/10/14 ...
6 years, 2 months ago (2014-10-14 17:55:02 UTC) #50
flackr
lgtm with nits. https://codereview.chromium.org/618283003/diff/480001/ui/events/x/hotplug_event_handler_x11.cc File ui/events/x/hotplug_event_handler_x11.cc (right): https://codereview.chromium.org/618283003/diff/480001/ui/events/x/hotplug_event_handler_x11.cc#newcode33 ui/events/x/hotplug_event_handler_x11.cc:33: const char* kInternalKeyboardName = "AT Translated ...
6 years, 2 months ago (2014-10-14 19:34:27 UTC) #51
rsadam
Addressed nits! https://codereview.chromium.org/618283003/diff/480001/ui/events/x/hotplug_event_handler_x11.cc File ui/events/x/hotplug_event_handler_x11.cc (right): https://codereview.chromium.org/618283003/diff/480001/ui/events/x/hotplug_event_handler_x11.cc#newcode33 ui/events/x/hotplug_event_handler_x11.cc:33: const char* kInternalKeyboardName = "AT Translated Set ...
6 years, 2 months ago (2014-10-14 22:24:15 UTC) #52
flackr
https://codereview.chromium.org/618283003/diff/500001/ui/events/x/hotplug_event_handler_x11.cc File ui/events/x/hotplug_event_handler_x11.cc (right): https://codereview.chromium.org/618283003/diff/500001/ui/events/x/hotplug_event_handler_x11.cc#newcode54 ui/events/x/hotplug_event_handler_x11.cc:54: 0u, strlen(kCrosEcKeyboardPrefix), kCrosEcKeyboardPrefix) == 0u; while find returns a ...
6 years, 2 months ago (2014-10-15 00:11:18 UTC) #53
rsadam
ping kpshoedel. +oshima for OWNERS https://codereview.chromium.org/618283003/diff/500001/ui/events/x/hotplug_event_handler_x11.cc File ui/events/x/hotplug_event_handler_x11.cc (right): https://codereview.chromium.org/618283003/diff/500001/ui/events/x/hotplug_event_handler_x11.cc#newcode54 ui/events/x/hotplug_event_handler_x11.cc:54: 0u, strlen(kCrosEcKeyboardPrefix), kCrosEcKeyboardPrefix) == ...
6 years, 2 months ago (2014-10-20 15:36:53 UTC) #55
kpschoedel
On 2014/10/20 15:36:53, rsadam wrote: > ping kpshoedel. Non-owning LGTM.
6 years, 2 months ago (2014-10-20 16:12:23 UTC) #56
rsadam
Clang doesn't seem to like initing empty vectors with {}, changed to std::vector<KeyboardDevice>();
6 years, 2 months ago (2014-10-20 16:29:32 UTC) #57
rsadam
Misread OWNERS file. +oshima for ash/* +sky for ui/*
6 years, 2 months ago (2014-10-20 16:34:50 UTC) #59
oshima
ash/ lgtm
6 years, 2 months ago (2014-10-20 19:38:17 UTC) #60
sky
https://codereview.chromium.org/618283003/diff/560001/ui/events/device_data_manager.cc File ui/events/device_data_manager.cc (right): https://codereview.chromium.org/618283003/diff/560001/ui/events/device_data_manager.cc#newcode19 ui/events/device_data_manager.cc:19: const ui::InputDevice& b) { Make sure you run git ...
6 years, 2 months ago (2014-10-20 22:18:44 UTC) #61
kpschoedel
https://codereview.chromium.org/618283003/diff/560001/ui/events/keyboard_device.h File ui/events/keyboard_device.h (right): https://codereview.chromium.org/618283003/diff/560001/ui/events/keyboard_device.h#newcode17 ui/events/keyboard_device.h:17: KeyboardDevice(int id, InputDeviceType type, const std::string& name); On 2014/10/20 ...
6 years, 2 months ago (2014-10-20 22:29:01 UTC) #62
rsadam
https://codereview.chromium.org/618283003/diff/240001/ui/events/input_device.h File ui/events/input_device.h (right): https://codereview.chromium.org/618283003/diff/240001/ui/events/input_device.h#newcode20 ui/events/input_device.h:20: // Represents a Keyboard device state. On 2014/10/06 18:31:11, ...
6 years, 2 months ago (2014-10-21 16:53:52 UTC) #65
sky
https://codereview.chromium.org/618283003/diff/560001/ui/events/x/device_data_manager_x11.cc File ui/events/x/device_data_manager_x11.cc (right): https://codereview.chromium.org/618283003/diff/560001/ui/events/x/device_data_manager_x11.cc#newcode695 ui/events/x/device_data_manager_x11.cc:695: int id = static_cast<int>(deviceid); On 2014/10/21 16:53:52, rsadam wrote: ...
6 years, 2 months ago (2014-10-21 18:15:32 UTC) #66
rsadam
> > This is the case that a device is blocked and then removed. If ...
6 years, 2 months ago (2014-10-21 18:37:49 UTC) #67
rsadam
https://codereview.chromium.org/618283003/diff/560001/ui/events/x/device_data_manager_x11.cc File ui/events/x/device_data_manager_x11.cc (right): https://codereview.chromium.org/618283003/diff/560001/ui/events/x/device_data_manager_x11.cc#newcode695 ui/events/x/device_data_manager_x11.cc:695: int id = static_cast<int>(deviceid); On 2014/10/21 18:15:32, sky wrote: ...
6 years, 2 months ago (2014-10-21 19:37:22 UTC) #68
sky
On Tue, Oct 21, 2014 at 11:37 AM, <rsadam@chromium.org> wrote: >> > This is the ...
6 years, 2 months ago (2014-10-21 21:51:04 UTC) #69
rsadam
> Doesn't this imply you shouldn't attempt to persist blocked state? I'm not sure I ...
6 years, 2 months ago (2014-10-21 21:55:44 UTC) #70
rsadam
> Doesn't this imply you shouldn't attempt to persist blocked state? I'm not sure I ...
6 years, 2 months ago (2014-10-21 21:56:50 UTC) #71
sky
Why does the entry need to be in the blocked_devices_ anymore then? Can't it be ...
6 years, 2 months ago (2014-10-21 23:56:34 UTC) #72
rsadam
On 2014/10/21 23:56:34, sky wrote: > Why does the entry need to be in the ...
6 years, 2 months ago (2014-10-22 01:28:55 UTC) #73
sky
My mistake, I thought it was a map. LGTM https://codereview.chromium.org/618283003/diff/640001/ui/events/x/device_data_manager_x11.cc File ui/events/x/device_data_manager_x11.cc (right): https://codereview.chromium.org/618283003/diff/640001/ui/events/x/device_data_manager_x11.cc#newcode746 ui/events/x/device_data_manager_x11.cc:746: ...
6 years, 2 months ago (2014-10-22 15:07:19 UTC) #74
rsadam
https://codereview.chromium.org/618283003/diff/640001/ui/events/x/device_data_manager_x11.cc File ui/events/x/device_data_manager_x11.cc (right): https://codereview.chromium.org/618283003/diff/640001/ui/events/x/device_data_manager_x11.cc#newcode746 ui/events/x/device_data_manager_x11.cc:746: std::map<unsigned int, KeyboardDevice>::iterator blocked_iter; On 2014/10/22 15:07:18, sky wrote: ...
6 years, 2 months ago (2014-10-22 16:21:16 UTC) #75
rsadam
Fixed merge conflict and rebased to ToT.
6 years, 2 months ago (2014-10-22 16:37:41 UTC) #76
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/618283003/680001
6 years, 2 months ago (2014-10-22 18:34:06 UTC) #78
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel/builds/5389) linux_chromium_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel/builds/1727) win_chromium_rel ...
6 years, 2 months ago (2014-10-22 19:25:41 UTC) #80
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/618283003/680001
6 years, 2 months ago (2014-10-22 19:29:00 UTC) #82
commit-bot: I haz the power
Committed patchset #26 (id:680001)
6 years, 2 months ago (2014-10-22 21:30:29 UTC) #83
commit-bot: I haz the power
6 years, 2 months ago (2014-10-22 21:31:21 UTC) #84
Message was sent while issue was closed.
Patchset 26 (id:??) landed as
https://crrev.com/d761ce02ab03d1a40f053a9c054a5c0473d94906
Cr-Commit-Position: refs/heads/master@{#300764}

Powered by Google App Engine
This is Rietveld 408576698