exo: Implement extended_keyboard interface

Desktop / Chromium - yhanada [chromium.org] - 14 July 2017 05:53 EDT

This implements the wayland extended_keyboard interface for ack_key events. The client will use this interface to send whether received key events are handled or not.

This CL doesn't have to be submitted together with Android side CL. Android container can run without the Android side CL.

Bug: b/28104183, b/36384707 Test: Android container runs and we can start apps.

Change-Id: I8191e29ca0538b29305dcc6b707bf1b10b32d30b Reviewed-on: https://chromium-review.googlesource.com/558335 Commit-Queue: Yuichiro Hanada

aaaf52e exo: Implement extended_keyboard interface.
components/exo/BUILD.gn | 1 +
components/exo/keyboard.cc | 29 +++++-
components/exo/keyboard.h | 15 +++
components/exo/keyboard_delegate.h | 5 -
.../exo/keyboard_device_configuration_delegate.h | 5 -
components/exo/keyboard_observer.h | 23 +++++
components/exo/keyboard_unittest.cc | 62 +++++++++--
components/exo/wayland/BUILD.gn | 1 +
components/exo/wayland/server.cc | 114 +++++++++++++++++++--
9 files changed, 229 insertions(+), 26 deletions(-)

Upstream: git.chromium.org


  • Share