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

Unified Diff: ui/ozone/platform/wayland/wayland_object.h

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/ozone/platform/wayland/wayland_keyboard_unittest.cc ('k') | ui/ozone/platform/wayland/wayland_object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/wayland/wayland_object.h
diff --git a/ui/ozone/platform/wayland/wayland_object.h b/ui/ozone/platform/wayland/wayland_object.h
index 8caac246ab451a4b2d885e531a16d451de93fe62..02271e14087e5afec2f532825e55c601b71b6831 100644
--- a/ui/ozone/platform/wayland/wayland_object.h
+++ b/ui/ozone/platform/wayland/wayland_object.h
@@ -11,6 +11,7 @@
struct wl_buffer;
struct wl_compositor;
+struct wl_keyboard;
struct wl_output;
struct wl_pointer;
struct wl_registry;
@@ -51,6 +52,12 @@ struct ObjectTraits<wl_output> {
};
template <>
+struct ObjectTraits<wl_keyboard> {
+ static const wl_interface* interface;
+ static void (*deleter)(wl_keyboard*);
+};
+
+template <>
struct ObjectTraits<wl_pointer> {
static const wl_interface* interface;
static void (*deleter)(wl_pointer*);
« no previous file with comments | « ui/ozone/platform/wayland/wayland_keyboard_unittest.cc ('k') | ui/ozone/platform/wayland/wayland_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698