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

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

Issue 2295323003: third_party: Update remote shell protocol to version 2 (Closed)
Patch Set: Migrate to "zcr" interfaces Created 4 years, 2 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 { "get_remote_surface", "nou", types + 9 }, 66 { "get_remote_surface", "nou", types + 9 },
67 { "get_notification_surface", "nos", types + 12 }, 67 { "get_notification_surface", "nos", types + 12 },
68 }; 68 };
69 69
70 static const struct wl_message zcr_remote_shell_v1_events[] = { 70 static const struct wl_message zcr_remote_shell_v1_events[] = {
71 { "activated", "?o?o", types + 15 }, 71 { "activated", "?o?o", types + 15 },
72 { "configuration_changed", "iiifiiiiu", types + 0 }, 72 { "configuration_changed", "iiifiiiiu", types + 0 },
73 }; 73 };
74 74
75 WL_EXPORT const struct wl_interface zcr_remote_shell_v1_interface = { 75 WL_EXPORT const struct wl_interface zcr_remote_shell_v1_interface = {
76 » "zcr_remote_shell_v1", 1, 76 » "zcr_remote_shell_v1", 2,
77 3, zcr_remote_shell_v1_requests, 77 3, zcr_remote_shell_v1_requests,
78 2, zcr_remote_shell_v1_events, 78 2, zcr_remote_shell_v1_events,
79 }; 79 };
80 80
81 static const struct wl_message zcr_remote_surface_v1_requests[] = { 81 static const struct wl_message zcr_remote_surface_v1_requests[] = {
82 { "destroy", "", types + 0 }, 82 { "destroy", "", types + 0 },
83 { "set_app_id", "s", types + 0 }, 83 { "set_app_id", "s", types + 0 },
84 { "set_window_geometry", "iiii", types + 0 }, 84 { "set_window_geometry", "iiii", types + 0 },
85 { "set_scale", "f", types + 0 }, 85 { "set_scale", "f", types + 0 },
86 { "set_rectangular_shadow", "iiii", types + 0 }, 86 { "set_rectangular_shadow", "iiii", types + 0 },
87 { "set_rectangular_shadow_background_opacity", "f", types + 0 }, 87 { "set_rectangular_shadow_background_opacity", "f", types + 0 },
88 { "set_title", "s", types + 0 }, 88 { "set_title", "s", types + 0 },
89 { "set_top_inset", "i", types + 0 }, 89 { "set_top_inset", "i", types + 0 },
90 { "activate", "u", types + 0 }, 90 { "activate", "u", types + 0 },
91 { "maximize", "", types + 0 }, 91 { "maximize", "", types + 0 },
92 { "minimize", "", types + 0 }, 92 { "minimize", "", types + 0 },
93 { "restore", "", types + 0 }, 93 { "restore", "", types + 0 },
94 { "fullscreen", "", types + 0 }, 94 { "fullscreen", "", types + 0 },
95 { "unfullscreen", "", types + 0 }, 95 { "unfullscreen", "", types + 0 },
96 { "pin", "i", types + 0 }, 96 { "pin", "i", types + 0 },
97 { "unpin", "", types + 0 }, 97 { "unpin", "", types + 0 },
98 { "set_system_modal", "", types + 0 }, 98 { "set_system_modal", "", types + 0 },
99 { "unset_system_modal", "", types + 0 }, 99 { "unset_system_modal", "", types + 0 },
100 { "set_moving", "2", types + 0 },
101 { "unset_moving", "2", types + 0 },
100 }; 102 };
101 103
102 static const struct wl_message zcr_remote_surface_v1_events[] = { 104 static const struct wl_message zcr_remote_surface_v1_events[] = {
103 { "close", "", types + 0 }, 105 { "close", "", types + 0 },
104 { "state_type_changed", "u", types + 0 }, 106 { "state_type_changed", "u", types + 0 },
105 }; 107 };
106 108
107 WL_EXPORT const struct wl_interface zcr_remote_surface_v1_interface = { 109 WL_EXPORT const struct wl_interface zcr_remote_surface_v1_interface = {
108 » "zcr_remote_surface_v1", 1, 110 » "zcr_remote_surface_v1", 2,
109 » 18, zcr_remote_surface_v1_requests, 111 » 20, zcr_remote_surface_v1_requests,
110 2, zcr_remote_surface_v1_events, 112 2, zcr_remote_surface_v1_events,
111 }; 113 };
112 114
113 static const struct wl_message zcr_notification_surface_v1_requests[] = { 115 static const struct wl_message zcr_notification_surface_v1_requests[] = {
114 { "destroy", "", types + 0 }, 116 { "destroy", "", types + 0 },
115 }; 117 };
116 118
117 WL_EXPORT const struct wl_interface zcr_notification_surface_v1_interface = { 119 WL_EXPORT const struct wl_interface zcr_notification_surface_v1_interface = {
118 "zcr_notification_surface_v1", 1, 120 "zcr_notification_surface_v1", 1,
119 1, zcr_notification_surface_v1_requests, 121 1, zcr_notification_surface_v1_requests,
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 static const struct wl_message zwp_notification_surface_v1_requests[] = { 185 static const struct wl_message zwp_notification_surface_v1_requests[] = {
184 { "destroy", "", types + 0 }, 186 { "destroy", "", types + 0 },
185 }; 187 };
186 188
187 WL_EXPORT const struct wl_interface zwp_notification_surface_v1_interface = { 189 WL_EXPORT const struct wl_interface zwp_notification_surface_v1_interface = {
188 "zwp_notification_surface_v1", 6, 190 "zwp_notification_surface_v1", 6,
189 1, zwp_notification_surface_v1_requests, 191 1, zwp_notification_surface_v1_requests,
190 0, NULL, 192 0, NULL,
191 }; 193 };
192 194
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698