OLD | NEW |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <protocol name="remote_shell_unstable_v1"> | 2 <protocol name="remote_shell_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 20 matching lines...) Expand all Loading... | |
31 Warning! The protocol described in this file is experimental and backward | 31 Warning! The protocol described in this file is experimental and backward |
32 incompatible changes may be made. Backward compatible changes may be added | 32 incompatible changes may be made. Backward compatible changes may be added |
33 together with the corresponding interface version bump. Backward | 33 together with the corresponding interface version bump. Backward |
34 incompatible changes are done by bumping the version number in the protocol | 34 incompatible changes are done by bumping the version number in the protocol |
35 and interface names and resetting the interface version. Once the protocol | 35 and interface names and resetting the interface version. Once the protocol |
36 is to be declared stable, the 'z' prefix and the version number in the | 36 is to be declared stable, the 'z' prefix and the version number in the |
37 protocol and interface names are removed and the interface version number is | 37 protocol and interface names are removed and the interface version number is |
38 reset. | 38 reset. |
39 </description> | 39 </description> |
40 | 40 |
41 <interface name="zwp_remote_shell_v1" version="10"> | 41 <interface name="zwp_remote_shell_v1" version="11"> |
42 <description summary="remote_shell"> | 42 <description summary="remote_shell"> |
43 The global interface that allows clients to turn a wl_surface into a | 43 The global interface that allows clients to turn a wl_surface into a |
44 "real window" which is remotely managed but can be stacked, activated | 44 "real window" which is remotely managed but can be stacked, activated |
45 and made fullscreen by the user. | 45 and made fullscreen by the user. |
46 </description> | 46 </description> |
47 | 47 |
48 <enum name="container"> | 48 <enum name="container"> |
49 <description summary="containers for remote surfaces"> | 49 <description summary="containers for remote surfaces"> |
50 Determine how a remote surface should be stacked relative to other | 50 Determine how a remote surface should be stacked relative to other |
51 shell surfaces. | 51 shell surfaces. |
52 </description> | 52 </description> |
53 <entry name="default" value="1" summary="default container"/> | 53 <entry name="default" value="1" summary="default container"/> |
54 <entry name="overlay" value="2" summary="system modal container"/> | 54 <entry name="overlay" value="2" summary="system modal container"/> |
55 </enum> | 55 </enum> |
56 | 56 |
57 <enum name="state_type"> | 57 <enum name="state_type"> |
58 <description summary="state types for remote surfaces"> | 58 <description summary="state types for remote surfaces"> |
59 Defines common show states for shell surfaces. | 59 Defines common show states for shell surfaces. |
60 </description> | 60 </description> |
61 <entry name="normal" value="1" summary="normal window state"/> | 61 <entry name="normal" value="1" summary="normal window state"/> |
62 <entry name="minimized" value="2" summary="minimized window state"/> | 62 <entry name="minimized" value="2" summary="minimized window state"/> |
63 <entry name="maximized" value="3" summary="maximized window state"/> | 63 <entry name="maximized" value="3" summary="maximized window state"/> |
64 <entry name="fullscreen" value="4" summary="fullscreen window state"/> | 64 <entry name="fullscreen" value="4" summary="fullscreen window state"/> |
65 <entry name="pinned" value="5" summary="pinned window state"/> | 65 <entry name="pinned" value="5" summary="pinned window state"/> |
66 <entry name="trusted_pinned" value="6" summary="trusted pinned window stat e"/> | |
66 </enum> | 67 </enum> |
67 | 68 |
68 <enum name="error"> | 69 <enum name="error"> |
69 <entry name="role" value="0" summary="given wl_surface has another role"/> | 70 <entry name="role" value="0" summary="given wl_surface has another role"/> |
70 <entry name="invalid_notification_id" value="1" | 71 <entry name="invalid_notification_id" value="1" |
71 summary="invalid notification id"/> | 72 summary="invalid notification id"/> |
72 </enum> | 73 </enum> |
73 | 74 |
74 <enum name="layout_mode"> | 75 <enum name="layout_mode"> |
75 <description summary="the layout mode"> | 76 <description summary="the layout mode"> |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
160 <arg name="transform" type="int"/> | 161 <arg name="transform" type="int"/> |
161 <arg name="scale_factor" type="fixed"/> | 162 <arg name="scale_factor" type="fixed"/> |
162 <arg name="work_area_inset_left" type="int"/> | 163 <arg name="work_area_inset_left" type="int"/> |
163 <arg name="work_area_inset_top" type="int"/> | 164 <arg name="work_area_inset_top" type="int"/> |
164 <arg name="work_area_inset_right" type="int"/> | 165 <arg name="work_area_inset_right" type="int"/> |
165 <arg name="work_area_inset_bottom" type="int"/> | 166 <arg name="work_area_inset_bottom" type="int"/> |
166 <arg name="layout_mode" type="uint"/> | 167 <arg name="layout_mode" type="uint"/> |
167 </event> | 168 </event> |
168 </interface> | 169 </interface> |
169 | 170 |
170 <interface name="zwp_remote_surface_v1" version="10"> | 171 <interface name="zwp_remote_surface_v1" version="10"> |
hidehiko
2016/08/24 16:13:12
Could you update this to 11, too?
hirono
2016/08/25 03:30:12
Done.
| |
171 <description summary="A desktop window"> | 172 <description summary="A desktop window"> |
172 An interface that may be implemented by a wl_surface, for | 173 An interface that may be implemented by a wl_surface, for |
173 implementations that provide a desktop-style user interface | 174 implementations that provide a desktop-style user interface |
174 and allows for remotely managed windows. | 175 and allows for remotely managed windows. |
175 | 176 |
176 It provides requests to treat surfaces like windows, allowing to set | 177 It provides requests to treat surfaces like windows, allowing to set |
177 properties like app id and geometry. | 178 properties like app id and geometry. |
178 | 179 |
179 The client must call wl_surface.commit on the corresponding wl_surface | 180 The client must call wl_surface.commit on the corresponding wl_surface |
180 for the remote_surface state to take effect. | 181 for the remote_surface state to take effect. |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
497 </request> | 498 </request> |
498 | 499 |
499 <!-- Version 10 additions --> | 500 <!-- Version 10 additions --> |
500 | 501 |
501 <request name="activate" since="10"> | 502 <request name="activate" since="10"> |
502 <description summary="make the surface active"> | 503 <description summary="make the surface active"> |
503 Make the surface active and bring it to the front. | 504 Make the surface active and bring it to the front. |
504 </description> | 505 </description> |
505 <arg name="serial" type="uint" summary="the serial of the user event"/> | 506 <arg name="serial" type="uint" summary="the serial of the user event"/> |
506 </request> | 507 </request> |
508 | |
509 <!-- Version 11 additions --> | |
510 <request name="pin" since="11"> | |
reveman
2016/08/24 18:47:47
there's already a request with this name as part o
hirono
2016/08/25 03:30:12
Yes, I was confused with the name in <description
| |
511 <description summary="pinWithTrustedFlag"> | |
hidehiko
2016/08/24 16:13:12
Could you use snake_case_name ?
reveman
2016/08/24 18:47:47
this should be a short sentence that describes the
hirono
2016/08/25 03:30:12
Done.
hirono
2016/08/25 03:30:12
Done.
hidehiko
2016/08/25 06:19:40
Oops, I was also confused. Sorry for mis-leading,
| |
512 Request that surface is pinned. | |
513 | |
514 This is only a request that the window should be pinned. | |
515 The compositor may choose to ignore this request. The client should | |
516 listen to set_pinned events to determine if the window was | |
517 pinned or not. If trusted flag is non-zero, the app can prevent users | |
518 from exiting the pinned mode. | |
519 </description> | |
520 <arg name="trusted" type="int" summary="whether the app can enforce usres | |
hidehiko
2016/08/24 16:13:12
s/usres/users/
| |
521 to stay in the pinned mode."/> | |
522 </request> | |
507 </interface> | 523 </interface> |
508 | 524 |
509 <!-- Version 6 additions --> | 525 <!-- Version 6 additions --> |
510 | 526 |
511 <interface name="zwp_notification_surface_v1" version="6"> | 527 <interface name="zwp_notification_surface_v1" version="6"> |
512 <description summary="A notification window"> | 528 <description summary="A notification window"> |
513 An interface that may be implemented by a wl_surface to host | 529 An interface that may be implemented by a wl_surface to host |
514 notification contents. | 530 notification contents. |
515 </description> | 531 </description> |
516 | 532 |
517 <request name="destroy" type="destructor"> | 533 <request name="destroy" type="destructor"> |
518 <description summary="Destroy the notification_surface"> | 534 <description summary="Destroy the notification_surface"> |
519 Unmap and destroy the notification surface. | 535 Unmap and destroy the notification surface. |
520 </description> | 536 </description> |
521 </request> | 537 </request> |
522 </interface> | 538 </interface> |
523 | 539 |
524 </protocol> | 540 </protocol> |
OLD | NEW |