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

Unified Diff: third_party/wayland/protocol/wayland-protocol.c

Issue 1628333004: Update Wayland to version 1.9.91. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « third_party/wayland/include/src/wayland-version.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/wayland/protocol/wayland-protocol.c
diff --git a/third_party/wayland/protocol/wayland-protocol.c b/third_party/wayland/protocol/wayland-protocol.c
index 5ce57be6ce86aaf97f9303c0965d12c0fc08eef9..e082b613bf5d2e4c0b42aea2c7859e509432078e 100644
--- a/third_party/wayland/protocol/wayland-protocol.c
+++ b/third_party/wayland/protocol/wayland-protocol.c
@@ -1,8 +1,8 @@
-/*
+/*
* Copyright © 2008-2011 Kristian Høgsberg
* Copyright © 2010-2011 Intel Corporation
* Copyright © 2012-2013 Collabora, Ltd.
- *
+ *
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction,
@@ -10,11 +10,11 @@
* publish, distribute, sublicense, and/or sell copies of the Software,
* and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
- *
+ *
* The above copyright notice and this permission notice (including the
* next paragraph) shall be included in all copies or substantial
* portions of the Software.
- *
+ *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
@@ -191,7 +191,7 @@ static const struct wl_message wl_compositor_requests[] = {
};
WL_EXPORT const struct wl_interface wl_compositor_interface = {
- "wl_compositor", 3,
+ "wl_compositor", 4,
2, wl_compositor_requests,
0, NULL,
};
@@ -240,33 +240,41 @@ static const struct wl_message wl_data_offer_requests[] = {
{ "accept", "u?s", types + 0 },
{ "receive", "sh", types + 0 },
{ "destroy", "", types + 0 },
+ { "finish", "3", types + 0 },
+ { "set_actions", "3uu", types + 0 },
};
static const struct wl_message wl_data_offer_events[] = {
{ "offer", "s", types + 0 },
+ { "source_actions", "3u", types + 0 },
+ { "action", "3u", types + 0 },
};
WL_EXPORT const struct wl_interface wl_data_offer_interface = {
- "wl_data_offer", 1,
- 3, wl_data_offer_requests,
- 1, wl_data_offer_events,
+ "wl_data_offer", 3,
+ 5, wl_data_offer_requests,
+ 3, wl_data_offer_events,
};
static const struct wl_message wl_data_source_requests[] = {
{ "offer", "s", types + 0 },
{ "destroy", "", types + 0 },
+ { "set_actions", "3u", types + 0 },
};
static const struct wl_message wl_data_source_events[] = {
{ "target", "?s", types + 0 },
{ "send", "sh", types + 0 },
{ "cancelled", "", types + 0 },
+ { "dnd_drop_performed", "3", types + 0 },
+ { "dnd_finished", "3", types + 0 },
+ { "action", "3u", types + 0 },
};
WL_EXPORT const struct wl_interface wl_data_source_interface = {
- "wl_data_source", 1,
- 2, wl_data_source_requests,
- 3, wl_data_source_events,
+ "wl_data_source", 3,
+ 3, wl_data_source_requests,
+ 6, wl_data_source_events,
};
static const struct wl_message wl_data_device_requests[] = {
@@ -285,7 +293,7 @@ static const struct wl_message wl_data_device_events[] = {
};
WL_EXPORT const struct wl_interface wl_data_device_interface = {
- "wl_data_device", 2,
+ "wl_data_device", 3,
3, wl_data_device_requests,
6, wl_data_device_events,
};
@@ -296,7 +304,7 @@ static const struct wl_message wl_data_device_manager_requests[] = {
};
WL_EXPORT const struct wl_interface wl_data_device_manager_interface = {
- "wl_data_device_manager", 2,
+ "wl_data_device_manager", 3,
2, wl_data_device_manager_requests,
0, NULL,
};
@@ -346,6 +354,7 @@ static const struct wl_message wl_surface_requests[] = {
{ "commit", "", types + 0 },
{ "set_buffer_transform", "2i", types + 0 },
{ "set_buffer_scale", "3i", types + 0 },
+ { "damage_buffer", "4iiii", types + 0 },
};
static const struct wl_message wl_surface_events[] = {
@@ -354,8 +363,8 @@ static const struct wl_message wl_surface_events[] = {
};
WL_EXPORT const struct wl_interface wl_surface_interface = {
- "wl_surface", 3,
- 9, wl_surface_requests,
+ "wl_surface", 4,
+ 10, wl_surface_requests,
2, wl_surface_events,
};
@@ -363,6 +372,7 @@ static const struct wl_message wl_seat_requests[] = {
{ "get_pointer", "n", types + 66 },
{ "get_keyboard", "n", types + 67 },
{ "get_touch", "n", types + 68 },
+ { "release", "5", types + 0 },
};
static const struct wl_message wl_seat_events[] = {
@@ -371,8 +381,8 @@ static const struct wl_message wl_seat_events[] = {
};
WL_EXPORT const struct wl_interface wl_seat_interface = {
- "wl_seat", 4,
- 3, wl_seat_requests,
+ "wl_seat", 5,
+ 4, wl_seat_requests,
2, wl_seat_events,
};
@@ -387,12 +397,16 @@ static const struct wl_message wl_pointer_events[] = {
{ "motion", "uff", types + 0 },
{ "button", "uuuu", types + 0 },
{ "axis", "uuf", types + 0 },
+ { "frame", "5", types + 0 },
+ { "axis_source", "5u", types + 0 },
+ { "axis_stop", "5uu", types + 0 },
+ { "axis_discrete", "5ui", types + 0 },
};
WL_EXPORT const struct wl_interface wl_pointer_interface = {
- "wl_pointer", 3,
+ "wl_pointer", 5,
2, wl_pointer_requests,
- 5, wl_pointer_events,
+ 9, wl_pointer_events,
};
static const struct wl_message wl_keyboard_requests[] = {
@@ -409,7 +423,7 @@ static const struct wl_message wl_keyboard_events[] = {
};
WL_EXPORT const struct wl_interface wl_keyboard_interface = {
- "wl_keyboard", 4,
+ "wl_keyboard", 5,
1, wl_keyboard_requests,
6, wl_keyboard_events,
};
@@ -427,7 +441,7 @@ static const struct wl_message wl_touch_events[] = {
};
WL_EXPORT const struct wl_interface wl_touch_interface = {
- "wl_touch", 3,
+ "wl_touch", 5,
1, wl_touch_requests,
5, wl_touch_events,
};
« no previous file with comments | « third_party/wayland/include/src/wayland-version.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698