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 29 matching lines...) Expand all Loading... |
40 Warning! The protocol described in this file is experimental and backward | 40 Warning! The protocol described in this file is experimental and backward |
41 incompatible changes may be made. Backward compatible changes may be added | 41 incompatible changes may be made. Backward compatible changes may be added |
42 together with the corresponding interface version bump. Backward | 42 together with the corresponding interface version bump. Backward |
43 incompatible changes are done by bumping the version number in the protocol | 43 incompatible changes are done by bumping the version number in the protocol |
44 and interface names and resetting the interface version. Once the protocol | 44 and interface names and resetting the interface version. Once the protocol |
45 is to be declared stable, the 'z' prefix and the version number in the | 45 is to be declared stable, the 'z' prefix and the version number in the |
46 protocol and interface names are removed and the interface version number is | 46 protocol and interface names are removed and the interface version number is |
47 reset. | 47 reset. |
48 </description> | 48 </description> |
49 | 49 |
50 <interface name="zwp_secure_output_v1" version="1"> | 50 <interface name="zcr_secure_output_v1" version="1"> |
51 <description summary="secure output"> | 51 <description summary="secure output"> |
52 The global interface exposing secure output capabilities is used | 52 The global interface exposing secure output capabilities is used |
53 to instantiate an interface extension for a wl_surface object. | 53 to instantiate an interface extension for a wl_surface object. |
54 This extended interface will then allow surfaces to be marked as | 54 This extended interface will then allow surfaces to be marked as |
55 as only visible on secure outputs. | 55 as only visible on secure outputs. |
56 </description> | 56 </description> |
57 | 57 |
58 <request name="destroy" type="destructor"> | 58 <request name="destroy" type="destructor"> |
59 <description summary="unbind from the secure output interface"> | 59 <description summary="unbind from the secure output interface"> |
60 Informs the server that the client will not be using this | 60 Informs the server that the client will not be using this |
61 protocol object anymore. This does not affect any other objects, | 61 protocol object anymore. This does not affect any other objects, |
62 security objects included. | 62 security objects included. |
63 </description> | 63 </description> |
64 </request> | 64 </request> |
65 | 65 |
66 <enum name="error"> | 66 <enum name="error"> |
67 <entry name="security_exists" value="0" | 67 <entry name="security_exists" value="0" |
68 summary="the surface already has a security object associated"/> | 68 summary="the surface already has a security object associated"/> |
69 </enum> | 69 </enum> |
70 | 70 |
71 <request name="get_security"> | 71 <request name="get_security"> |
72 <description summary="extend surface interface for security"> | 72 <description summary="extend surface interface for security"> |
73 Instantiate an interface extension for the given wl_surface to | 73 Instantiate an interface extension for the given wl_surface to |
74 provide surface security. If the given wl_surface already has | 74 provide surface security. If the given wl_surface already has |
75 a security object associated, the security_exists protocol error | 75 a security object associated, the security_exists protocol error |
76 is raised. | 76 is raised. |
77 </description> | 77 </description> |
78 | 78 |
| 79 <arg name="id" type="new_id" interface="zcr_security_v1" |
| 80 summary="the new security interface id"/> |
| 81 <arg name="surface" type="object" interface="wl_surface" |
| 82 summary="the surface"/> |
| 83 </request> |
| 84 </interface> |
| 85 |
| 86 <interface name="zcr_security_v1" version="1"> |
| 87 <description summary="security interface to a wl_surface"> |
| 88 An additional interface to a wl_surface object, which allows the |
| 89 client to specify that a surface should not appear in screenshots |
| 90 or be visible on non-secure outputs. |
| 91 |
| 92 If the wl_surface associated with the security object is destroyed, |
| 93 the security object becomes inert. |
| 94 |
| 95 If the security object is destroyed, the security state is removed |
| 96 from the wl_surface. The change will be applied on the next |
| 97 wl_surface.commit. |
| 98 </description> |
| 99 |
| 100 <request name="destroy" type="destructor"> |
| 101 <description summary="remove security from the surface"> |
| 102 The associated wl_surface's security state is removed. |
| 103 The change is applied on the next wl_surface.commit. |
| 104 </description> |
| 105 </request> |
| 106 |
| 107 <request name="only_visible_on_secure_output"> |
| 108 <description summary="set the only visible on secure output state"> |
| 109 Constrain visibility of wl_surface contents to secure outputs. |
| 110 See wp_secure_output for the description. |
| 111 |
| 112 The only visible on secure output state is double-buffered state, |
| 113 and will be applied on the next wl_surface.commit. |
| 114 </description> |
| 115 </request> |
| 116 |
| 117 </interface> |
| 118 |
| 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 |
79 <arg name="id" type="new_id" interface="zwp_security_v1" | 148 <arg name="id" type="new_id" interface="zwp_security_v1" |
80 summary="the new security interface id"/> | 149 summary="the new security interface id"/> |
81 <arg name="surface" type="object" interface="wl_surface" | 150 <arg name="surface" type="object" interface="wl_surface" |
82 summary="the surface"/> | 151 summary="the surface"/> |
83 </request> | 152 </request> |
84 </interface> | 153 </interface> |
85 | 154 |
86 <interface name="zwp_security_v1" version="1"> | 155 <interface name="zwp_security_v1" version="1"> |
87 <description summary="security interface to a wl_surface"> | 156 <description summary="DEPRECATED"> |
88 An additional interface to a wl_surface object, which allows the | 157 An additional interface to a wl_surface object, which allows the |
89 client to specify that a surface should not appear in screenshots | 158 client to specify that a surface should not appear in screenshots |
90 or be visible on non-secure outputs. | 159 or be visible on non-secure outputs. |
91 | 160 |
92 If the wl_surface associated with the security object is destroyed, | 161 If the wl_surface associated with the security object is destroyed, |
93 the security object becomes inert. | 162 the security object becomes inert. |
94 | 163 |
95 If the security object is destroyed, the security state is removed | 164 If the security object is destroyed, the security state is removed |
96 from the wl_surface. The change will be applied on the next | 165 from the wl_surface. The change will be applied on the next |
97 wl_surface.commit. | 166 wl_surface.commit. |
(...skipping 11 matching lines...) Expand all Loading... |
109 Constrain visibility of wl_surface contents to secure outputs. | 178 Constrain visibility of wl_surface contents to secure outputs. |
110 See wp_secure_output for the description. | 179 See wp_secure_output for the description. |
111 | 180 |
112 The only visible on secure output state is double-buffered state, | 181 The only visible on secure output state is double-buffered state, |
113 and will be applied on the next wl_surface.commit. | 182 and will be applied on the next wl_surface.commit. |
114 </description> | 183 </description> |
115 </request> | 184 </request> |
116 | 185 |
117 </interface> | 186 </interface> |
118 </protocol> | 187 </protocol> |
OLD | NEW |