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

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

Issue 1712103002: ozone/platform/wayland: Implement pointer handling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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_display.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 f0850aacb07532fbab0429db711394e3c3b9c9e8..f5324f9bf150aacc21ed3c8ff5e8208d75cc6d3a 100644
--- a/ui/ozone/platform/wayland/wayland_object.h
+++ b/ui/ozone/platform/wayland/wayland_object.h
@@ -11,7 +11,9 @@
struct wl_buffer;
struct wl_compositor;
+struct wl_pointer;
struct wl_registry;
+struct wl_seat;
struct wl_shm;
struct wl_shm_pool;
struct wl_surface;
@@ -42,12 +44,24 @@ struct ObjectTraits<wl_display> {
};
template <>
+struct ObjectTraits<wl_pointer> {
+ static const wl_interface* interface;
+ static void (*deleter)(wl_pointer*);
+};
+
+template <>
struct ObjectTraits<wl_registry> {
static const wl_interface* interface;
static void (*deleter)(wl_registry*);
};
template <>
+struct ObjectTraits<wl_seat> {
+ static const wl_interface* interface;
+ static void (*deleter)(wl_seat*);
+};
+
+template <>
struct ObjectTraits<wl_shm> {
static const wl_interface* interface;
static void (*deleter)(wl_shm*);
« no previous file with comments | « ui/ozone/platform/wayland/wayland_display.cc ('k') | ui/ozone/platform/wayland/wayland_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698