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="3"> | 41 <interface name="zwp_remote_shell_v1" version="4"> |
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 25 matching lines...) Expand all Loading... | |
77 any other role, an error is raised. | 77 any other role, an error is raised. |
78 | 78 |
79 See the documentation of remote_surface for more details about what an | 79 See the documentation of remote_surface for more details about what an |
80 remote_surface is and how it is used. | 80 remote_surface is and how it is used. |
81 </description> | 81 </description> |
82 <arg name="id" type="new_id" interface="zwp_remote_surface_v1"/> | 82 <arg name="id" type="new_id" interface="zwp_remote_surface_v1"/> |
83 <arg name="surface" type="object" interface="wl_surface"/> | 83 <arg name="surface" type="object" interface="wl_surface"/> |
84 <arg name="container" type="uint"/> | 84 <arg name="container" type="uint"/> |
85 </request> | 85 </request> |
86 | 86 |
87 <request name="get_notification_surface" since="4"> | |
88 <description summary="create a notification surface from a surface"> | |
89 Creates a notification_surface for the given surface, gives it the | |
90 notification_surface role and associated it with a notification id. | |
91 </description> | |
92 <arg name="id" type="new_id" interface="zwp_notification_surface_v1"/> | |
93 <arg name="surface" type="object" interface="wl_surface"/> | |
94 <arg name="notification_id" type="string" /> | |
95 </request> | |
96 | |
87 <event name="configure"> | 97 <event name="configure"> |
88 <description summary="suggests a re-layout of remote shell"> | 98 <description summary="suggests a re-layout of remote shell"> |
89 Suggests a re-layout of remote surface geometry. | 99 Suggests a re-layout of remote surface geometry. |
90 </description> | 100 </description> |
91 <arg name="width" type="int"/> | 101 <arg name="width" type="int"/> |
92 <arg name="height" type="int"/> | 102 <arg name="height" type="int"/> |
93 <arg name="work_area_inset_left" type="int"/> | 103 <arg name="work_area_inset_left" type="int"/> |
94 <arg name="work_area_inset_top" type="int"/> | 104 <arg name="work_area_inset_top" type="int"/> |
95 <arg name="work_area_inset_right" type="int"/> | 105 <arg name="work_area_inset_right" type="int"/> |
96 <arg name="work_area_inset_bottom" type="int"/> | 106 <arg name="work_area_inset_bottom" type="int"/> |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
361 <description summary="surface was unpinned"> | 371 <description summary="surface was unpinned"> |
362 The unset_pinned event is sent by the compositor when the surface | 372 The unset_pinned event is sent by the compositor when the surface |
363 was unpinned. | 373 was unpinned. |
364 | 374 |
365 This is only an event that the unpin request was successfully | 375 This is only an event that the unpin request was successfully |
366 done. The client may choose to ignore this event. | 376 done. The client may choose to ignore this event. |
367 </description> | 377 </description> |
368 </event> | 378 </event> |
369 </interface> | 379 </interface> |
370 | 380 |
381 <interface name="zwp_notification_surface_v1" version="4"> | |
reveman
2016/06/14 17:05:35
nit: please add "<!-- Version 4 additions -->" and
xiyuan
2016/06/14 17:27:09
Done.
| |
382 <description summary="A notification window"> | |
383 An interface that may be implemented by a wl_surface to host | |
384 notification contents. | |
385 </description> | |
386 | |
387 <request name="destroy" type="destructor"> | |
388 <description summary="Destroy the notification_surface"> | |
389 Unmap and destroy the notification surface. | |
390 </description> | |
391 </request> | |
392 </interface> | |
393 | |
371 </protocol> | 394 </protocol> |
OLD | NEW |