Chromium Code Reviews| 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="8"> | 41 <interface name="zwp_remote_shell_v1" version="9"> |
| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 143 <description summary="layout mode changed"> | 143 <description summary="layout mode changed"> |
| 144 The shell_mode_changed event is sent by the compositor when | 144 The shell_mode_changed event is sent by the compositor when |
| 145 the shell mode was changed. | 145 the shell mode was changed. |
| 146 | 146 |
| 147 This is an event to notify that the shell mode has switched. | 147 This is an event to notify that the shell mode has switched. |
| 148 </description> | 148 </description> |
| 149 <arg name="layout_mode" type="uint"/> | 149 <arg name="layout_mode" type="uint"/> |
| 150 </event> | 150 </event> |
| 151 </interface> | 151 </interface> |
| 152 | 152 |
| 153 <interface name="zwp_remote_surface_v1" version="8"> | 153 <interface name="zwp_remote_surface_v1" version="9"> |
| 154 <description summary="A desktop window"> | 154 <description summary="A desktop window"> |
| 155 An interface that may be implemented by a wl_surface, for | 155 An interface that may be implemented by a wl_surface, for |
| 156 implementations that provide a desktop-style user interface | 156 implementations that provide a desktop-style user interface |
| 157 and allows for remotely managed windows. | 157 and allows for remotely managed windows. |
| 158 | 158 |
| 159 It provides requests to treat surfaces like windows, allowing to set | 159 It provides requests to treat surfaces like windows, allowing to set |
| 160 properties like app id and geometry. | 160 properties like app id and geometry. |
| 161 | 161 |
| 162 The client must call wl_surface.commit on the corresponding wl_surface | 162 The client must call wl_surface.commit on the corresponding wl_surface |
| 163 for the remote_surface state to take effect. | 163 for the remote_surface state to take effect. |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 462 <description summary="suggests a re-layout of remote shell input area"> | 462 <description summary="suggests a re-layout of remote shell input area"> |
| 463 Suggests a surface should become system modal. | 463 Suggests a surface should become system modal. |
| 464 </description> | 464 </description> |
| 465 </request> | 465 </request> |
| 466 | 466 |
| 467 <request name="unset_system_modal" since="8"> | 467 <request name="unset_system_modal" since="8"> |
| 468 <description summary="suggests a re-layout of remote shell input area"> | 468 <description summary="suggests a re-layout of remote shell input area"> |
| 469 Suggests a surface should become non system modal. | 469 Suggests a surface should become non system modal. |
| 470 </description> | 470 </description> |
| 471 </request> | 471 </request> |
| 472 | |
| 473 <!-- Version 9 additions --> | |
| 474 | |
| 475 <request name="activate" since="9"> | |
|
reveman
2016/08/01 00:52:41
Oh, one thing. Can you add:
<arg name="serial" ty
khmel
2016/08/02 02:21:53
Thanks David for offline chat, done
| |
| 476 <description summary="make the surface active"> | |
| 477 Make the surface active and bring it to the front. | |
| 478 </description> | |
| 479 </request> | |
| 472 </interface> | 480 </interface> |
| 473 | 481 |
| 474 <!-- Version 6 additions --> | 482 <!-- Version 6 additions --> |
| 475 | 483 |
| 476 <interface name="zwp_notification_surface_v1" version="6"> | 484 <interface name="zwp_notification_surface_v1" version="6"> |
| 477 <description summary="A notification window"> | 485 <description summary="A notification window"> |
| 478 An interface that may be implemented by a wl_surface to host | 486 An interface that may be implemented by a wl_surface to host |
| 479 notification contents. | 487 notification contents. |
| 480 </description> | 488 </description> |
| 481 | 489 |
| 482 <request name="destroy" type="destructor"> | 490 <request name="destroy" type="destructor"> |
| 483 <description summary="Destroy the notification_surface"> | 491 <description summary="Destroy the notification_surface"> |
| 484 Unmap and destroy the notification surface. | 492 Unmap and destroy the notification surface. |
| 485 </description> | 493 </description> |
| 486 </request> | 494 </request> |
| 487 </interface> | 495 </interface> |
| 488 | 496 |
| 489 </protocol> | 497 </protocol> |
| OLD | NEW |