OLD | NEW |
1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <protocol name="secure_output_unstable_v1"> | 2 <protocol name="secure_output_unstable_v1"> |
3 | 3 |
4 <copyright> | 4 <copyright> |
5 Copyright 2016 The Chromium Authors. | 5 Copyright 2016 The Chromium Authors. |
6 | 6 |
7 Permission is hereby granted, free of charge, to any person obtaining a | 7 Permission is hereby granted, free of charge, to any person obtaining a |
8 copy of this software and associated documentation files (the "Software"), | 8 copy of this software and associated documentation files (the "Software"), |
9 to deal in the Software without restriction, including without limitation | 9 to deal in the Software without restriction, including without limitation |
10 the rights to use, copy, modify, merge, publish, distribute, sublicense, | 10 the rights to use, copy, modify, merge, publish, distribute, sublicense, |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 106 |
107 <request name="only_visible_on_secure_output"> | 107 <request name="only_visible_on_secure_output"> |
108 <description summary="set the only visible on secure output state"> | 108 <description summary="set the only visible on secure output state"> |
109 Constrain visibility of wl_surface contents to secure outputs. | 109 Constrain visibility of wl_surface contents to secure outputs. |
110 See wp_secure_output for the description. | 110 See wp_secure_output for the description. |
111 | 111 |
112 The only visible on secure output state is double-buffered state, | 112 The only visible on secure output state is double-buffered state, |
113 and will be applied on the next wl_surface.commit. | 113 and will be applied on the next wl_surface.commit. |
114 </description> | 114 </description> |
115 </request> | 115 </request> |
116 | |
117 </interface> | 116 </interface> |
118 | 117 |
119 <interface name="zwp_secure_output_v1" version="1"> | |
120 <description summary="DEPRECATED"> | |
121 The global interface exposing secure output capabilities is used | |
122 to instantiate an interface extension for a wl_surface object. | |
123 This extended interface will then allow surfaces to be marked as | |
124 as only visible on secure outputs. | |
125 </description> | |
126 | |
127 <request name="destroy" type="destructor"> | |
128 <description summary="unbind from the secure output interface"> | |
129 Informs the server that the client will not be using this | |
130 protocol object anymore. This does not affect any other objects, | |
131 security objects included. | |
132 </description> | |
133 </request> | |
134 | |
135 <enum name="error"> | |
136 <entry name="security_exists" value="0" | |
137 summary="the surface already has a security object associated"/> | |
138 </enum> | |
139 | |
140 <request name="get_security"> | |
141 <description summary="extend surface interface for security"> | |
142 Instantiate an interface extension for the given wl_surface to | |
143 provide surface security. If the given wl_surface already has | |
144 a security object associated, the security_exists protocol error | |
145 is raised. | |
146 </description> | |
147 | |
148 <arg name="id" type="new_id" interface="zwp_security_v1" | |
149 summary="the new security interface id"/> | |
150 <arg name="surface" type="object" interface="wl_surface" | |
151 summary="the surface"/> | |
152 </request> | |
153 </interface> | |
154 | |
155 <interface name="zwp_security_v1" version="1"> | |
156 <description summary="DEPRECATED"> | |
157 An additional interface to a wl_surface object, which allows the | |
158 client to specify that a surface should not appear in screenshots | |
159 or be visible on non-secure outputs. | |
160 | |
161 If the wl_surface associated with the security object is destroyed, | |
162 the security object becomes inert. | |
163 | |
164 If the security object is destroyed, the security state is removed | |
165 from the wl_surface. The change will be applied on the next | |
166 wl_surface.commit. | |
167 </description> | |
168 | |
169 <request name="destroy" type="destructor"> | |
170 <description summary="remove security from the surface"> | |
171 The associated wl_surface's security state is removed. | |
172 The change is applied on the next wl_surface.commit. | |
173 </description> | |
174 </request> | |
175 | |
176 <request name="only_visible_on_secure_output"> | |
177 <description summary="set the only visible on secure output state"> | |
178 Constrain visibility of wl_surface contents to secure outputs. | |
179 See wp_secure_output for the description. | |
180 | |
181 The only visible on secure output state is double-buffered state, | |
182 and will be applied on the next wl_surface.commit. | |
183 </description> | |
184 </request> | |
185 | |
186 </interface> | |
187 </protocol> | 118 </protocol> |
OLD | NEW |