| 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="11"> |
| 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 |
| 511 <request name="pin_with_trusted_flag" since="11"> |
| 512 <description summary="set window mode as pinned with taking a trasted flag
."> |
| 513 Request that surface is pinned. |
| 514 |
| 515 This is only a request that the window should be pinned. |
| 516 The compositor may choose to ignore this request. The client should |
| 517 listen to set_pinned events to determine if the window was |
| 518 pinned or not. If trusted flag is non-zero, the app can prevent users |
| 519 from exiting the pinned mode. |
| 520 </description> |
| 521 <arg name="trusted" type="int" summary="whether the app can enforce users |
| 522 to stay in the pinned mode."/> |
| 523 </request> |
| 507 </interface> | 524 </interface> |
| 508 | 525 |
| 509 <!-- Version 6 additions --> | 526 <!-- Version 6 additions --> |
| 510 | 527 |
| 511 <interface name="zwp_notification_surface_v1" version="6"> | 528 <interface name="zwp_notification_surface_v1" version="6"> |
| 512 <description summary="A notification window"> | 529 <description summary="A notification window"> |
| 513 An interface that may be implemented by a wl_surface to host | 530 An interface that may be implemented by a wl_surface to host |
| 514 notification contents. | 531 notification contents. |
| 515 </description> | 532 </description> |
| 516 | 533 |
| 517 <request name="destroy" type="destructor"> | 534 <request name="destroy" type="destructor"> |
| 518 <description summary="Destroy the notification_surface"> | 535 <description summary="Destroy the notification_surface"> |
| 519 Unmap and destroy the notification surface. | 536 Unmap and destroy the notification surface. |
| 520 </description> | 537 </description> |
| 521 </request> | 538 </request> |
| 522 </interface> | 539 </interface> |
| 523 | 540 |
| 524 </protocol> | 541 </protocol> |
| OLD | NEW |