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

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: 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 /* 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 }; 58 };
59 59
60 static const struct wl_message zwp_remote_shell_v1_events[] = { 60 static const struct wl_message zwp_remote_shell_v1_events[] = {
61 { "configure", "iiiiii", types + 0 }, 61 { "configure", "iiiiii", types + 0 },
62 { "activated", "?o?o", types + 15 }, 62 { "activated", "?o?o", types + 15 },
63 { "layout_mode_changed", "8u", types + 0 }, 63 { "layout_mode_changed", "8u", types + 0 },
64 { "configuration_changed", "9iiifiiiiu", types + 0 }, 64 { "configuration_changed", "9iiifiiiiu", types + 0 },
65 }; 65 };
66 66
67 WL_EXPORT const struct wl_interface zwp_remote_shell_v1_interface = { 67 WL_EXPORT const struct wl_interface zwp_remote_shell_v1_interface = {
68 » "zwp_remote_shell_v1", 11, 68 » "zwp_remote_shell_v1", 12,
69 3, zwp_remote_shell_v1_requests, 69 3, zwp_remote_shell_v1_requests,
70 4, zwp_remote_shell_v1_events, 70 4, zwp_remote_shell_v1_events,
71 }; 71 };
72 72
73 static const struct wl_message zwp_remote_surface_v1_requests[] = { 73 static const struct wl_message zwp_remote_surface_v1_requests[] = {
74 { "destroy", "", types + 0 }, 74 { "destroy", "", types + 0 },
75 { "set_app_id", "s", types + 0 }, 75 { "set_app_id", "s", types + 0 },
76 { "set_window_geometry", "iiii", types + 0 }, 76 { "set_window_geometry", "iiii", types + 0 },
77 { "set_scale", "f", types + 0 }, 77 { "set_scale", "f", types + 0 },
78 { "fullscreen", "2", types + 0 }, 78 { "fullscreen", "2", types + 0 },
79 { "maximize", "2", types + 0 }, 79 { "maximize", "2", types + 0 },
80 { "minimize", "2", types + 0 }, 80 { "minimize", "2", types + 0 },
81 { "restore", "2", types + 0 }, 81 { "restore", "2", types + 0 },
82 { "pin", "3", types + 0 }, 82 { "pin", "3", types + 0 },
83 { "unpin", "3", types + 0 }, 83 { "unpin", "3", types + 0 },
84 { "unfullscreen", "3", types + 0 }, 84 { "unfullscreen", "3", types + 0 },
85 { "set_rectangular_shadow", "4iiii", types + 0 }, 85 { "set_rectangular_shadow", "4iiii", types + 0 },
86 { "set_title", "5s", types + 0 }, 86 { "set_title", "5s", types + 0 },
87 { "set_top_inset", "5i", types + 0 }, 87 { "set_top_inset", "5i", types + 0 },
88 { "set_system_modal", "8", types + 0 }, 88 { "set_system_modal", "8", types + 0 },
89 { "unset_system_modal", "8", types + 0 }, 89 { "unset_system_modal", "8", types + 0 },
90 { "set_rectangular_shadow_background_opacity", "9f", types + 0 }, 90 { "set_rectangular_shadow_background_opacity", "9f", types + 0 },
91 { "activate", "10u", types + 0 }, 91 { "activate", "10u", types + 0 },
92 { "pin_with_trusted_flag", "11i", types + 0 }, 92 { "pin_with_trusted_flag", "11i", types + 0 },
93 { "drag", "12", types + 0 },
94 { "drop", "12u", types + 0 },
93 }; 95 };
94 96
95 static const struct wl_message zwp_remote_surface_v1_events[] = { 97 static const struct wl_message zwp_remote_surface_v1_events[] = {
96 { "set_fullscreen", "", types + 0 }, 98 { "set_fullscreen", "", types + 0 },
97 { "unset_fullscreen", "", types + 0 }, 99 { "unset_fullscreen", "", types + 0 },
98 { "close", "", types + 0 }, 100 { "close", "", types + 0 },
99 { "set_maximized", "2", types + 0 }, 101 { "set_maximized", "2", types + 0 },
100 { "unset_maximized", "2", types + 0 }, 102 { "unset_maximized", "2", types + 0 },
101 { "set_minimized", "2", types + 0 }, 103 { "set_minimized", "2", types + 0 },
102 { "unset_minimized", "2", types + 0 }, 104 { "unset_minimized", "2", types + 0 },
103 { "set_pinned", "3", types + 0 }, 105 { "set_pinned", "3", types + 0 },
104 { "unset_pinned", "3", types + 0 }, 106 { "unset_pinned", "3", types + 0 },
105 { "state_type_changed", "7u", types + 0 }, 107 { "state_type_changed", "7u", types + 0 },
106 }; 108 };
107 109
108 WL_EXPORT const struct wl_interface zwp_remote_surface_v1_interface = { 110 WL_EXPORT const struct wl_interface zwp_remote_surface_v1_interface = {
109 » "zwp_remote_surface_v1", 11, 111 » "zwp_remote_surface_v1", 12,
110 » 19, zwp_remote_surface_v1_requests, 112 » 21, zwp_remote_surface_v1_requests,
111 10, zwp_remote_surface_v1_events, 113 10, zwp_remote_surface_v1_events,
112 }; 114 };
113 115
114 static const struct wl_message zwp_notification_surface_v1_requests[] = { 116 static const struct wl_message zwp_notification_surface_v1_requests[] = {
115 { "destroy", "", types + 0 }, 117 { "destroy", "", types + 0 },
116 }; 118 };
117 119
118 WL_EXPORT const struct wl_interface zwp_notification_surface_v1_interface = { 120 WL_EXPORT const struct wl_interface zwp_notification_surface_v1_interface = {
119 "zwp_notification_surface_v1", 6, 121 "zwp_notification_surface_v1", 6,
120 1, zwp_notification_surface_v1_requests, 122 1, zwp_notification_surface_v1_requests,
121 0, NULL, 123 0, NULL,
122 }; 124 };
123 125
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698