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

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

Issue 2042503002: ozone/platform/wayland: Add support for wl_output_interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [For landding] update comments Created 4 years, 3 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
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 cd925c1bdafb4f4a5f3df1631476c51c0adf8e29..8caac246ab451a4b2d885e531a16d451de93fe62 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_output;
struct wl_pointer;
struct wl_registry;
struct wl_seat;
@@ -44,6 +45,12 @@ struct ObjectTraits<wl_display> {
};
template <>
+struct ObjectTraits<wl_output> {
+ static const wl_interface* interface;
+ static void (*deleter)(wl_output*);
+};
+
+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_connection_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