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

Unified Diff: third_party/wayland-protocols/protocol/secure-output-protocol.c

Issue 2350633002: third_party: Switch to zcr prefix for downstream wayland interfaces. (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 side-by-side diff with in-line comments
Download patch
Index: third_party/wayland-protocols/protocol/secure-output-protocol.c
diff --git a/third_party/wayland-protocols/protocol/secure-output-protocol.c b/third_party/wayland-protocols/protocol/secure-output-protocol.c
index b8cf0f60665aadb68f3f9ad04cbe158acc87df3b..0cf72e57ddd9f21728275ef2b4fa091594a1a75f 100644
--- a/third_party/wayland-protocols/protocol/secure-output-protocol.c
+++ b/third_party/wayland-protocols/protocol/secure-output-protocol.c
@@ -28,18 +28,43 @@
#include "wayland-util.h"
extern const struct wl_interface wl_surface_interface;
+extern const struct wl_interface zcr_security_v1_interface;
extern const struct wl_interface zwp_security_v1_interface;
static const struct wl_interface *types[] = {
+ &zcr_security_v1_interface,
+ &wl_surface_interface,
&zwp_security_v1_interface,
&wl_surface_interface,
};
-static const struct wl_message zwp_secure_output_v1_requests[] = {
+static const struct wl_message zcr_secure_output_v1_requests[] = {
{ "destroy", "", types + 0 },
{ "get_security", "no", types + 0 },
};
+WL_EXPORT const struct wl_interface zcr_secure_output_v1_interface = {
+ "zcr_secure_output_v1", 1,
+ 2, zcr_secure_output_v1_requests,
+ 0, NULL,
+};
+
+static const struct wl_message zcr_security_v1_requests[] = {
+ { "destroy", "", types + 0 },
+ { "only_visible_on_secure_output", "", types + 0 },
+};
+
+WL_EXPORT const struct wl_interface zcr_security_v1_interface = {
+ "zcr_security_v1", 1,
+ 2, zcr_security_v1_requests,
+ 0, NULL,
+};
+
+static const struct wl_message zwp_secure_output_v1_requests[] = {
+ { "destroy", "", types + 0 },
+ { "get_security", "no", types + 2 },
+};
+
WL_EXPORT const struct wl_interface zwp_secure_output_v1_interface = {
"zwp_secure_output_v1", 1,
2, zwp_secure_output_v1_requests,

Powered by Google App Engine
This is Rietveld 408576698