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="zcr_remote_shell_v1" version="1"> | 41 <interface name="zcr_remote_shell_v1" version="2"> |
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. |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 <arg name="transform" type="int"/> | 133 <arg name="transform" type="int"/> |
134 <arg name="scale_factor" type="fixed"/> | 134 <arg name="scale_factor" type="fixed"/> |
135 <arg name="work_area_inset_left" type="int"/> | 135 <arg name="work_area_inset_left" type="int"/> |
136 <arg name="work_area_inset_top" type="int"/> | 136 <arg name="work_area_inset_top" type="int"/> |
137 <arg name="work_area_inset_right" type="int"/> | 137 <arg name="work_area_inset_right" type="int"/> |
138 <arg name="work_area_inset_bottom" type="int"/> | 138 <arg name="work_area_inset_bottom" type="int"/> |
139 <arg name="layout_mode" type="uint"/> | 139 <arg name="layout_mode" type="uint"/> |
140 </event> | 140 </event> |
141 </interface> | 141 </interface> |
142 | 142 |
143 <interface name="zcr_remote_surface_v1" version="1"> | 143 <interface name="zcr_remote_surface_v1" version="2"> |
144 <description summary="A desktop window"> | 144 <description summary="A desktop window"> |
145 An interface that may be implemented by a wl_surface, for | 145 An interface that may be implemented by a wl_surface, for |
146 implementations that provide a desktop-style user interface | 146 implementations that provide a desktop-style user interface |
147 and allows for remotely managed windows. | 147 and allows for remotely managed windows. |
148 | 148 |
149 It provides requests to treat surfaces like windows, allowing to set | 149 It provides requests to treat surfaces like windows, allowing to set |
150 properties like app id and geometry. | 150 properties like app id and geometry. |
151 | 151 |
152 The client must call wl_surface.commit on the corresponding wl_surface | 152 The client must call wl_surface.commit on the corresponding wl_surface |
153 for the remote_surface state to take effect. | 153 for the remote_surface state to take effect. |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 The state_type_changed event is sent by the compositor when the surface | 372 The state_type_changed event is sent by the compositor when the surface |
373 state changed. | 373 state changed. |
374 | 374 |
375 This is an event to notify that the window state changed in compositor. | 375 This is an event to notify that the window state changed in compositor. |
376 The state change may be triggered by a client's request, or some user | 376 The state change may be triggered by a client's request, or some user |
377 action directly handled by the compositor. The client may choose to | 377 action directly handled by the compositor. The client may choose to |
378 ignore this event. | 378 ignore this event. |
379 </description> | 379 </description> |
380 <arg name="state_type" type="uint"/> | 380 <arg name="state_type" type="uint"/> |
381 </event> | 381 </event> |
| 382 |
| 383 <!-- Version 2 additions --> |
| 384 |
| 385 <request name="set_moving" since="2"> |
| 386 <description summary="interactive move started"> |
| 387 Notifies the compositor when an interactive, user-driven move of the |
| 388 surface starts. The compositor may assume that subsequent |
| 389 set_window_geometry requests are position updates until it receives a |
| 390 unset_moving request. |
| 391 </description> |
| 392 </request> |
| 393 |
| 394 <request name="unset_moving" since="2"> |
| 395 <description summary="interactive move stopped"> |
| 396 Notifies the compositor when an interactive, user-driven move of the |
| 397 surface stops. The compositor may choose to stop the move regardless |
| 398 of this request. |
| 399 </description> |
| 400 </request> |
382 </interface> | 401 </interface> |
383 | 402 |
384 <interface name="zcr_notification_surface_v1" version="1"> | 403 <interface name="zcr_notification_surface_v1" version="1"> |
385 <description summary="A notification window"> | 404 <description summary="A notification window"> |
386 An interface that may be implemented by a wl_surface to host | 405 An interface that may be implemented by a wl_surface to host |
387 notification contents. | 406 notification contents. |
388 </description> | 407 </description> |
389 | 408 |
390 <request name="destroy" type="destructor"> | 409 <request name="destroy" type="destructor"> |
391 <description summary="Destroy the notification_surface"> | 410 <description summary="Destroy the notification_surface"> |
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
888 </description> | 907 </description> |
889 | 908 |
890 <request name="destroy" type="destructor"> | 909 <request name="destroy" type="destructor"> |
891 <description summary="Destroy the notification_surface"> | 910 <description summary="Destroy the notification_surface"> |
892 Unmap and destroy the notification surface. | 911 Unmap and destroy the notification surface. |
893 </description> | 912 </description> |
894 </request> | 913 </request> |
895 </interface> | 914 </interface> |
896 | 915 |
897 </protocol> | 916 </protocol> |
OLD | NEW |