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

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

Issue 1841083003: ozone/platform/wayland: Implement keyboard handling Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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.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 f5324f9bf150aacc21ed3c8ff5e8208d75cc6d3a..5579ae75cb46d5ca13521107e31e1b212edec6f2 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_pointer;
struct wl_registry;
struct wl_seat;
@@ -44,6 +45,12 @@ struct ObjectTraits<wl_display> {
};
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.cc ('k') | ui/ozone/platform/wayland/wayland_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698