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

Issue 2506263002: exo: Implement support for zcr_keyboard_configuration_v1 protocol. (Closed)

Created:
4 years, 1 month ago by yhanada
Modified:
4 years ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

exo: Implement support for zcr_keyboard_configuration_v1 protocol. This CL allows us to notify keyboard type changes to a client through zcr_keyboard_device_configuration_v1 interface. BUG=670247 Committed: https://crrev.com/5d5b8cb5a204c2317e08262426b2a19c1c562a35 Cr-Commit-Position: refs/heads/master@{#437750}

Patch Set 1 #

Patch Set 2 #

Patch Set 3 : exo: Implement support for zcr_keyboard_extension_v1 protocol. #

Patch Set 4 : exo: Implement support for zcr_keyboard_configuration_v1 protocol. #

Total comments: 38

Patch Set 5 : address the review comments #

Patch Set 6 : rebase #

Patch Set 7 : fix initialization #

Total comments: 16

Patch Set 8 : add TODO & address the comments #

Patch Set 9 : add one more TODO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+239 lines, -11 lines) Patch
M components/exo/BUILD.gn View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M components/exo/keyboard.h View 1 2 3 4 5 6 7 3 chunks +19 lines, -2 lines 0 comments Download
M components/exo/keyboard.cc View 1 2 3 4 5 6 7 4 chunks +52 lines, -0 lines 0 comments Download
M components/exo/keyboard_delegate.h View 1 1 chunk +1 line, -1 line 0 comments Download
A components/exo/keyboard_device_configuration_delegate.h View 1 2 3 4 1 chunk +27 lines, -0 lines 0 comments Download
M components/exo/wayland/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M components/exo/wayland/server.cc View 1 2 3 4 5 6 7 8 5 chunks +89 lines, -7 lines 0 comments Download
M components/exo/wm_helper.h View 1 2 4 chunks +12 lines, -0 lines 0 comments Download
M components/exo/wm_helper.cc View 1 2 2 chunks +14 lines, -0 lines 0 comments Download
M components/exo/wm_helper_ash.h View 1 2 3 chunks +6 lines, -1 line 0 comments Download
M components/exo/wm_helper_ash.cc View 1 2 4 chunks +7 lines, -0 lines 0 comments Download
M components/exo/wm_helper_mus.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M components/exo/wm_helper_mus.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (21 generated)
yhanada
Hi denniskempin@ and reveman@, PTAL.
4 years ago (2016-12-08 23:54:49 UTC) #9
reveman
https://codereview.chromium.org/2506263002/diff/60001/components/exo/keyboard.cc File components/exo/keyboard.cc (right): https://codereview.chromium.org/2506263002/diff/60001/components/exo/keyboard.cc#newcode77 components/exo/keyboard.cc:77: bool HasEnabledPhysicalKeyboard() { IsPhysicalKeyboardEnabled() ? https://codereview.chromium.org/2506263002/diff/60001/components/exo/keyboard.cc#newcode78 components/exo/keyboard.cc:78: const auto* ...
4 years ago (2016-12-09 00:18:37 UTC) #10
yhanada
Thank you for the quick review! https://codereview.chromium.org/2506263002/diff/60001/components/exo/keyboard.cc File components/exo/keyboard.cc (right): https://codereview.chromium.org/2506263002/diff/60001/components/exo/keyboard.cc#newcode77 components/exo/keyboard.cc:77: bool HasEnabledPhysicalKeyboard() { ...
4 years ago (2016-12-09 14:54:05 UTC) #11
reveman
https://codereview.chromium.org/2506263002/diff/120001/components/exo/keyboard.cc File components/exo/keyboard.cc (right): https://codereview.chromium.org/2506263002/diff/120001/components/exo/keyboard.cc#newcode120 components/exo/keyboard.cc:120: device_configuration_delegate_->OnKeyboardDestroying(this); This is surprising and inconsistent with SetStylusDelegate. Please ...
4 years ago (2016-12-09 16:15:03 UTC) #16
yhanada
PTAL. https://codereview.chromium.org/2506263002/diff/120001/components/exo/keyboard.cc File components/exo/keyboard.cc (right): https://codereview.chromium.org/2506263002/diff/120001/components/exo/keyboard.cc#newcode120 components/exo/keyboard.cc:120: device_configuration_delegate_->OnKeyboardDestroying(this); On 2016/12/09 16:15:02, reveman wrote: > This ...
4 years ago (2016-12-10 00:09:11 UTC) #19
reveman
lgtm https://codereview.chromium.org/2506263002/diff/120001/components/exo/wayland/server.cc File components/exo/wayland/server.cc (right): https://codereview.chromium.org/2506263002/diff/120001/components/exo/wayland/server.cc#newcode3059 components/exo/wayland/server.cc:3059: void keyboard_configuration_get_keyboard_device_configuration( On 2016/12/10 at 00:09:11, yhanada wrote: ...
4 years ago (2016-12-10 00:13:55 UTC) #22
yhanada
Thank you for reviewing! https://codereview.chromium.org/2506263002/diff/120001/components/exo/wayland/server.cc File components/exo/wayland/server.cc (right): https://codereview.chromium.org/2506263002/diff/120001/components/exo/wayland/server.cc#newcode3059 components/exo/wayland/server.cc:3059: void keyboard_configuration_get_keyboard_device_configuration( On 2016/12/10 00:13:55, ...
4 years ago (2016-12-10 00:47:28 UTC) #23
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/2506263002/160001
4 years ago (2016-12-10 00:48:45 UTC) #26
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years ago (2016-12-10 04:17:27 UTC) #29
commit-bot: I haz the power
4 years ago (2016-12-12 15:06:21 UTC) #31
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/5d5b8cb5a204c2317e08262426b2a19c1c562a35
Cr-Commit-Position: refs/heads/master@{#437750}

Powered by Google App Engine
This is Rietveld 408576698