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

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

Issue 1804973003: third_party: Add secure_output_protocol target to wayland-protocols. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo Created 4 years, 9 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-contents-protocol.c
diff --git a/third_party/wayland-protocols/protocol/scaler-protocol.c b/third_party/wayland-protocols/protocol/secure-contents-protocol.c
similarity index 68%
copy from third_party/wayland-protocols/protocol/scaler-protocol.c
copy to third_party/wayland-protocols/protocol/secure-contents-protocol.c
index 54473261b5cc128898ff822f31a003659a296dae..d87ee4cd26cb098bf21df3dd8e9d6f4fe524bb69 100644
--- a/third_party/wayland-protocols/protocol/scaler-protocol.c
+++ b/third_party/wayland-protocols/protocol/secure-contents-protocol.c
@@ -1,5 +1,5 @@
/*
- * Copyright © 2013-2014 Collabora, Ltd.
+ * Copyright 2015 The Chromium Authors.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -25,41 +25,33 @@
#include <stdint.h>
#include "wayland-util.h"
-extern const struct wl_interface wl_viewport_interface;
+extern const struct wl_interface zwp_secure_v1_interface;
extern const struct wl_interface wl_surface_interface;
static const struct wl_interface *types[] = {
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- &wl_viewport_interface,
+ &zwp_secure_v1_interface,
&wl_surface_interface,
};
-static const struct wl_message wl_scaler_requests[] = {
+static const struct wl_message zwp_secure_contents_v1_requests[] = {
{ "destroy", "", types + 0 },
- { "get_viewport", "no", types + 6 },
+ { "get_secure", "no", types + 0 },
};
-WL_EXPORT const struct wl_interface wl_scaler_interface = {
- "wl_scaler", 2,
- 2, wl_scaler_requests,
+WL_EXPORT const struct wl_interface zwp_secure_contents_v1_interface = {
+ "zwp_secure_contents_v1", 1,
+ 2, zwp_secure_contents_v1_requests,
0, NULL,
};
-static const struct wl_message wl_viewport_requests[] = {
+static const struct wl_message zwp_secure_v1_requests[] = {
{ "destroy", "", types + 0 },
- { "set", "ffffii", types + 0 },
- { "set_source", "2ffff", types + 0 },
- { "set_destination", "2ii", types + 0 },
+ { "enable_sensitive_contents", "", types + 0 },
};
-WL_EXPORT const struct wl_interface wl_viewport_interface = {
- "wl_viewport", 2,
- 4, wl_viewport_requests,
+WL_EXPORT const struct wl_interface zwp_secure_v1_interface = {
+ "zwp_secure_v1", 1,
+ 2, zwp_secure_v1_requests,
0, NULL,
};

Powered by Google App Engine
This is Rietveld 408576698