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="zcr_remote_shell_v1" version="2"> | 41 <interface name="zcr_remote_shell_v1" version="3"> |
| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 119 Creates a notification_surface for the given surface, gives it the | 119 Creates a notification_surface for the given surface, gives it the |
| 120 notification_surface role and associated it with a notification id. | 120 notification_surface role and associated it with a notification id. |
| 121 </description> | 121 </description> |
| 122 <arg name="id" type="new_id" interface="zcr_notification_surface_v1"/> | 122 <arg name="id" type="new_id" interface="zcr_notification_surface_v1"/> |
| 123 <arg name="surface" type="object" interface="wl_surface"/> | 123 <arg name="surface" type="object" interface="wl_surface"/> |
| 124 <arg name="notification_id" type="string" /> | 124 <arg name="notification_id" type="string" /> |
| 125 </request> | 125 </request> |
| 126 | 126 |
| 127 <event name="configuration_changed"> | 127 <event name="configuration_changed"> |
| 128 <description summary="suggests a re-configuration of remote shell"> | 128 <description summary="suggests a re-configuration of remote shell"> |
| 129 » Suggests a re-configuration of remote shell. | 129 » Deprecated. Suggests a re-configuration of remote shell. |
| 130 </description> | 130 </description> |
| 131 <arg name="width" type="int"/> | 131 <arg name="width" type="int"/> |
| 132 <arg name="height" type="int"/> | 132 <arg name="height" type="int"/> |
| 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 | |
| 142 <!-- Version 3 additions --> | |
| 143 | |
| 144 <event name="workspace" version="3"> | |
| 145 <description summary="area of remote shell"> | |
| 146 Defines an area of the remote shell used for layout. | |
| 147 </description> | |
| 148 <arg name="id" type="uint"/> | |
| 149 <arg name="x" type="int"/> | |
| 150 <arg name="y" type="int"/> | |
| 151 <arg name="width" type="int"/> | |
| 152 <arg name="height" type="int"/> | |
| 153 <arg name="inset_left" type="int"/> | |
| 154 <arg name="inset_top" type="int"/> | |
| 155 <arg name="inset_right" type="int"/> | |
| 156 <arg name="inset_bottom" type="int"/> | |
| 157 </event> | |
|
reveman
2016/10/26 15:13:44
I understand that inset is the workspace but what
Dominik Laskowski
2016/10/26 19:53:10
Bounds of the workspace in virtual coordinates, i.
reveman
2016/11/11 01:36:13
Ok, makes sense.
| |
| 158 | |
| 159 <event name="configure" version="3"> | |
| 160 <description summary="suggests configuration of remote shell"> | |
| 161 Suggests a new configuration of the remote shell. Preceded by a series | |
| 162 of "workspace" events. | |
| 163 </description> | |
| 164 <arg name="width" type="int"/> | |
| 165 <arg name="height" type="int"/> | |
| 166 <arg name="transform" type="int"/> | |
| 167 <arg name="scale_factor" type="fixed"/> | |
| 168 <arg name="layout_mode" type="uint"/> | |
| 169 </event> | |
| 141 </interface> | 170 </interface> |
| 142 | 171 |
| 143 <interface name="zcr_remote_surface_v1" version="2"> | 172 <interface name="zcr_remote_surface_v1" version="2"> |
| 144 <description summary="A desktop window"> | 173 <description summary="A desktop window"> |
| 145 An interface that may be implemented by a wl_surface, for | 174 An interface that may be implemented by a wl_surface, for |
| 146 implementations that provide a desktop-style user interface | 175 implementations that provide a desktop-style user interface |
| 147 and allows for remotely managed windows. | 176 and allows for remotely managed windows. |
| 148 | 177 |
| 149 It provides requests to treat surfaces like windows, allowing to set | 178 It provides requests to treat surfaces like windows, allowing to set |
| 150 properties like app id and geometry. | 179 properties like app id and geometry. |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 407 </description> | 436 </description> |
| 408 | 437 |
| 409 <request name="destroy" type="destructor"> | 438 <request name="destroy" type="destructor"> |
| 410 <description summary="Destroy the notification_surface"> | 439 <description summary="Destroy the notification_surface"> |
| 411 Unmap and destroy the notification surface. | 440 Unmap and destroy the notification surface. |
| 412 </description> | 441 </description> |
| 413 </request> | 442 </request> |
| 414 </interface> | 443 </interface> |
| 415 | 444 |
| 416 </protocol> | 445 </protocol> |
| OLD | NEW |