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

Unified Diff: third_party/wayland-protocols/unstable/secure-output/secure-output-unstable-v1.xml

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/unstable/secure-output/secure-output-unstable-v1.xml
diff --git a/third_party/wayland-protocols/unstable/secure-output/secure-output-unstable-v1.xml b/third_party/wayland-protocols/unstable/secure-output/secure-output-unstable-v1.xml
index bdb0469cbf5cbb03f9148d66cca3c411b974dc80..4bee9442c67d3e2b7753f289fe2a8f9c0e21deee 100644
--- a/third_party/wayland-protocols/unstable/secure-output/secure-output-unstable-v1.xml
+++ b/third_party/wayland-protocols/unstable/secure-output/secure-output-unstable-v1.xml
@@ -47,7 +47,7 @@
reset.
</description>
- <interface name="zwp_secure_output_v1" version="1">
+ <interface name="zcr_secure_output_v1" version="1">
<description summary="secure output">
The global interface exposing secure output capabilities is used
to instantiate an interface extension for a wl_surface object.
@@ -76,6 +76,75 @@
is raised.
</description>
+ <arg name="id" type="new_id" interface="zcr_security_v1"
+ summary="the new security interface id"/>
+ <arg name="surface" type="object" interface="wl_surface"
+ summary="the surface"/>
+ </request>
+ </interface>
+
+ <interface name="zcr_security_v1" version="1">
+ <description summary="security interface to a wl_surface">
+ An additional interface to a wl_surface object, which allows the
+ client to specify that a surface should not appear in screenshots
+ or be visible on non-secure outputs.
+
+ If the wl_surface associated with the security object is destroyed,
+ the security object becomes inert.
+
+ If the security object is destroyed, the security state is removed
+ from the wl_surface. The change will be applied on the next
+ wl_surface.commit.
+ </description>
+
+ <request name="destroy" type="destructor">
+ <description summary="remove security from the surface">
+ The associated wl_surface's security state is removed.
+ The change is applied on the next wl_surface.commit.
+ </description>
+ </request>
+
+ <request name="only_visible_on_secure_output">
+ <description summary="set the only visible on secure output state">
+ Constrain visibility of wl_surface contents to secure outputs.
+ See wp_secure_output for the description.
+
+ The only visible on secure output state is double-buffered state,
+ and will be applied on the next wl_surface.commit.
+ </description>
+ </request>
+
+ </interface>
+
+ <interface name="zwp_secure_output_v1" version="1">
+ <description summary="DEPRECATED">
+ The global interface exposing secure output capabilities is used
+ to instantiate an interface extension for a wl_surface object.
+ This extended interface will then allow surfaces to be marked as
+ as only visible on secure outputs.
+ </description>
+
+ <request name="destroy" type="destructor">
+ <description summary="unbind from the secure output interface">
+ Informs the server that the client will not be using this
+ protocol object anymore. This does not affect any other objects,
+ security objects included.
+ </description>
+ </request>
+
+ <enum name="error">
+ <entry name="security_exists" value="0"
+ summary="the surface already has a security object associated"/>
+ </enum>
+
+ <request name="get_security">
+ <description summary="extend surface interface for security">
+ Instantiate an interface extension for the given wl_surface to
+ provide surface security. If the given wl_surface already has
+ a security object associated, the security_exists protocol error
+ is raised.
+ </description>
+
<arg name="id" type="new_id" interface="zwp_security_v1"
summary="the new security interface id"/>
<arg name="surface" type="object" interface="wl_surface"
@@ -84,7 +153,7 @@
</interface>
<interface name="zwp_security_v1" version="1">
- <description summary="security interface to a wl_surface">
+ <description summary="DEPRECATED">
An additional interface to a wl_surface object, which allows the
client to specify that a surface should not appear in screenshots
or be visible on non-secure outputs.

Powered by Google App Engine
This is Rietveld 408576698