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

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

Issue 2061763002: third_party: Update to version 5 of remote_shell_protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and add set_top_inset Created 4 years, 6 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 /* Generated by wayland-scanner 1.11.0 */ 1 /* Generated by wayland-scanner 1.11.0 */
2 2
3 /* 3 /*
4 * Copyright 2016 The Chromium Authors. 4 * Copyright 2016 The Chromium Authors.
5 * 5 *
6 * 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
7 * copy of this software and associated documentation files (the "Software"), 7 * copy of this software and associated documentation files (the "Software"),
8 * to deal in the Software without restriction, including without limitation 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * 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
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 { "destroy", "", types + 0 }, 48 { "destroy", "", types + 0 },
49 { "get_remote_surface", "nou", types + 6 }, 49 { "get_remote_surface", "nou", types + 6 },
50 }; 50 };
51 51
52 static const struct wl_message zwp_remote_shell_v1_events[] = { 52 static const struct wl_message zwp_remote_shell_v1_events[] = {
53 { "configure", "iiiiii", types + 0 }, 53 { "configure", "iiiiii", types + 0 },
54 { "activated", "?o?o", types + 9 }, 54 { "activated", "?o?o", types + 9 },
55 }; 55 };
56 56
57 WL_EXPORT const struct wl_interface zwp_remote_shell_v1_interface = { 57 WL_EXPORT const struct wl_interface zwp_remote_shell_v1_interface = {
58 » "zwp_remote_shell_v1", 3, 58 » "zwp_remote_shell_v1", 5,
59 2, zwp_remote_shell_v1_requests, 59 2, zwp_remote_shell_v1_requests,
60 2, zwp_remote_shell_v1_events, 60 2, zwp_remote_shell_v1_events,
61 }; 61 };
62 62
63 static const struct wl_message zwp_remote_surface_v1_requests[] = { 63 static const struct wl_message zwp_remote_surface_v1_requests[] = {
64 { "destroy", "", types + 0 }, 64 { "destroy", "", types + 0 },
65 { "set_app_id", "s", types + 0 }, 65 { "set_app_id", "s", types + 0 },
66 { "set_window_geometry", "iiii", types + 0 }, 66 { "set_window_geometry", "iiii", types + 0 },
67 { "set_scale", "f", types + 0 }, 67 { "set_scale", "f", types + 0 },
68 { "fullscreen", "2", types + 0 }, 68 { "fullscreen", "2", types + 0 },
69 { "maximize", "2", types + 0 }, 69 { "maximize", "2", types + 0 },
70 { "minimize", "2", types + 0 }, 70 { "minimize", "2", types + 0 },
71 { "restore", "2", types + 0 }, 71 { "restore", "2", types + 0 },
72 { "pin", "3", types + 0 }, 72 { "pin", "3", types + 0 },
73 { "unpin", "3", types + 0 }, 73 { "unpin", "3", types + 0 },
74 { "unfullscreen", "3", types + 0 }, 74 { "unfullscreen", "3", types + 0 },
75 » { "set_rectangular_shadow", "iiii", types + 0 }, 75 » { "set_rectangular_shadow", "4iiii", types + 0 },
76 » { "set_title", "5s", types + 0 },
77 » { "set_top_inset", "5i", types + 0 },
76 }; 78 };
77 79
78 static const struct wl_message zwp_remote_surface_v1_events[] = { 80 static const struct wl_message zwp_remote_surface_v1_events[] = {
79 { "set_fullscreen", "", types + 0 }, 81 { "set_fullscreen", "", types + 0 },
80 { "unset_fullscreen", "", types + 0 }, 82 { "unset_fullscreen", "", types + 0 },
81 { "close", "", types + 0 }, 83 { "close", "", types + 0 },
82 { "set_maximized", "2", types + 0 }, 84 { "set_maximized", "2", types + 0 },
83 { "unset_maximized", "2", types + 0 }, 85 { "unset_maximized", "2", types + 0 },
84 { "set_minimized", "2", types + 0 }, 86 { "set_minimized", "2", types + 0 },
85 { "unset_minimized", "2", types + 0 }, 87 { "unset_minimized", "2", types + 0 },
86 { "set_pinned", "3", types + 0 }, 88 { "set_pinned", "3", types + 0 },
87 { "unset_pinned", "3", types + 0 }, 89 { "unset_pinned", "3", types + 0 },
88 }; 90 };
89 91
90 WL_EXPORT const struct wl_interface zwp_remote_surface_v1_interface = { 92 WL_EXPORT const struct wl_interface zwp_remote_surface_v1_interface = {
91 » "zwp_remote_surface_v1", 3, 93 » "zwp_remote_surface_v1", 5,
92 » 11, zwp_remote_surface_v1_requests, 94 » 14, zwp_remote_surface_v1_requests,
93 9, zwp_remote_surface_v1_events, 95 9, zwp_remote_surface_v1_events,
94 }; 96 };
97
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698