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

Unified Diff: ui/ozone/platform/wayland/BUILD.gn

Issue 2639053002: [ozone/wayland] Implement basic keyboard handling support (Closed)
Patch Set: addressed kpschoedel's review Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.h ('k') | ui/ozone/platform/wayland/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/wayland/BUILD.gn
diff --git a/ui/ozone/platform/wayland/BUILD.gn b/ui/ozone/platform/wayland/BUILD.gn
index 494ab6005256fd07c39b6b5353e8c5c29bbdac1f..8d80aa90ef52637d2b0bcc3460e8cc93cc1681d8 100644
--- a/ui/ozone/platform/wayland/BUILD.gn
+++ b/ui/ozone/platform/wayland/BUILD.gn
@@ -20,6 +20,8 @@ source_set("wayland") {
"ozone_platform_wayland.h",
"wayland_connection.cc",
"wayland_connection.h",
+ "wayland_keyboard.cc",
+ "wayland_keyboard.h",
"wayland_object.cc",
"wayland_object.h",
"wayland_output.cc",
@@ -32,13 +34,23 @@ source_set("wayland") {
"wayland_window.h",
]
+ import("//ui/base/ui_features.gni")
+ if (use_xkbcommon) {
+ sources += [
+ "wayland_xkb_keyboard_layout_engine.cc",
+ "wayland_xkb_keyboard_layout_engine.h",
+ ]
+ }
+
deps = [
"//base",
"//skia",
"//third_party/wayland:wayland_client",
"//third_party/wayland-protocols:xdg_shell_protocol",
+ "//ui/base:ui_features",
"//ui/display",
"//ui/events",
+ "//ui/events/ozone:events_ozone_layout",
"//ui/events/platform",
"//ui/gfx",
"//ui/gfx/geometry",
@@ -63,6 +75,7 @@ source_set("wayland_unittests") {
"fake_server.h",
"mock_platform_window_delegate.cc",
"wayland_connection_unittest.cc",
+ "wayland_keyboard_unittest.cc",
"wayland_pointer_unittest.cc",
"wayland_surface_factory_unittest.cc",
"wayland_test.cc",
« no previous file with comments | « ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.h ('k') | ui/ozone/platform/wayland/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698