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

Side by Side Diff: third_party/wayland-protocols/protocol/stylus-protocol.c

Issue 2350593002: third_party: Update wayland-protocols to 1.7. (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
1 /* 1 /* Generated by wayland-scanner 1.11.0 */
2
3 /*
2 * Copyright 2016 The Chromium Authors. 4 * Copyright 2016 The Chromium Authors.
3 * 5 *
4 * Permission is hereby granted, free of charge, to any person obtaining a 6 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"), 7 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation 8 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the 10 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions: 11 * Software is furnished to do so, subject to the following conditions:
10 * 12 *
11 * The above copyright notice and this permission notice (including the next 13 * The above copyright notice and this permission notice (including the next
12 * paragraph) shall be included in all copies or substantial portions of the 14 * paragraph) shall be included in all copies or substantial portions of the
13 * Software. 15 * Software.
14 * 16 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21 * DEALINGS IN THE SOFTWARE. 23 * DEALINGS IN THE SOFTWARE.
22 */ 24 */
23 25
24 #include <stdlib.h> 26 #include <stdlib.h>
25 #include <stdint.h> 27 #include <stdint.h>
26 #include "wayland-util.h" 28 #include "wayland-util.h"
27 29
30 extern const struct wl_interface wl_pointer_interface;
28 extern const struct wl_interface zwp_pointer_stylus_v1_interface; 31 extern const struct wl_interface zwp_pointer_stylus_v1_interface;
29 extern const struct wl_interface wl_pointer_interface;
30 32
31 static const struct wl_interface *types[] = { 33 static const struct wl_interface *types[] = {
32 NULL, 34 NULL,
33 NULL, 35 NULL,
34 NULL, 36 NULL,
35 &zwp_pointer_stylus_v1_interface, 37 &zwp_pointer_stylus_v1_interface,
36 &wl_pointer_interface, 38 &wl_pointer_interface,
37 }; 39 };
38 40
39 static const struct wl_message zwp_stylus_v1_requests[] = { 41 static const struct wl_message zwp_stylus_v1_requests[] = {
(...skipping 15 matching lines...) Expand all
55 { "force", "uf", types + 0 }, 57 { "force", "uf", types + 0 },
56 { "tilt", "uff", types + 0 }, 58 { "tilt", "uff", types + 0 },
57 }; 59 };
58 60
59 WL_EXPORT const struct wl_interface zwp_pointer_stylus_v1_interface = { 61 WL_EXPORT const struct wl_interface zwp_pointer_stylus_v1_interface = {
60 "zwp_pointer_stylus_v1", 1, 62 "zwp_pointer_stylus_v1", 1,
61 1, zwp_pointer_stylus_v1_requests, 63 1, zwp_pointer_stylus_v1_requests,
62 3, zwp_pointer_stylus_v1_events, 64 3, zwp_pointer_stylus_v1_events,
63 }; 65 };
64 66
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698