Chromium Code Reviews| Index: third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml |
| diff --git a/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml b/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml |
| index 5147a34029de20303a75c4c12e4f01d094a2a02d..d891d08dab543af5ab7a8490c9e8371aebd5c7dc 100644 |
| --- a/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml |
| +++ b/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml |
| @@ -38,7 +38,7 @@ |
| reset. |
| </description> |
| - <interface name="zwp_remote_shell_v1" version="1"> |
| + <interface name="zwp_remote_shell_v1" version="2"> |
| <description summary="remote_shell"> |
| The global interface that allows clients to turn a wl_surface into a |
| "real window" which is remotely managed but can be stacked, activated |
| @@ -105,7 +105,7 @@ |
| </event> |
| </interface> |
| - <interface name="zwp_remote_surface_v1" version="1"> |
| + <interface name="zwp_remote_surface_v1" version="2"> |
| <description summary="A desktop window"> |
| An interface that may be implemented by a wl_surface, for |
| implementations that provide a desktop-style user interface |
| @@ -202,6 +202,95 @@ |
| a dialog to ask the user to save their data... |
| </description> |
| </event> |
| + |
| + <!-- Version 2 additions --> |
| + |
| + <request name="fullscreen" since="2"> |
| + <description summary="fullscreen"> |
| + Request that surface is made fullscreen. |
| + |
| + This is only a request that the window should be made fullscreen. |
| + The compositor may choose to ignore this request. The client should |
| + listen to set_fullscreen events to determine if the window was |
| + made fullscreen or not. |
| + </description> |
| + </request> |
| + |
| + <request name="maximize" since="2"> |
| + <description summary="maximize"> |
| + Request that surface is maximized. The window geometry will be updated |
| + to whatever the compositor finds appropriate for a maximized window. |
| + |
| + This is only a request that the window should be maximized. The |
| + compositor may choose to ignore this request. The client should |
| + listen to set_maximized events to determine if the window was |
| + maximized or not. |
| + </description> |
| + </request> |
| + |
| + <request name="minimize" since="2"> |
| + <description summary="minimize"> |
| + Request that surface is minimized. |
| + |
| + This is only a request that the window should be maximized. The |
|
mtomasz
2016/06/03 03:56:42
nit: maximized -> minimized?
reveman
2016/06/03 11:25:30
done
|
| + compositor may choose to ignore this request. The client should |
| + listen to set_minimized events to determine if the window was |
| + minimized or not. |
| + </description> |
| + </request> |
| + |
| + <request name="restore" since="2"> |
| + <description summary="restore"> |
| + Request that surface is restored. This restores the window geometry |
| + to what it was before the window was minimized, maximized or made |
| + fullscreen. |
| + |
| + This is only a request that the window should be restored. The |
| + compositor may choose to ignore this request. The client should |
| + listen to unset_maximized, unset_minimize and unset_fullscreen |
| + events to determine if the window was restored or not. |
| + </description> |
| + </request> |
| + |
| + <event name="set_maximized" since="2"> |
| + <description summary="surface wants to be maximized"> |
| + The set_maximized event is sent by the compositor when the user |
| + wants the surface to be maximized. |
| + |
| + This is only a request that the user intends to maximized the window. |
| + The client may choose to ignore this request. |
| + </description> |
| + </event> |
| + |
| + <event name="unset_maximized" since="2"> |
| + <description summary="surface wants to be restored"> |
| + The unset_maximized event is sent by the compositor when the user |
| + wants the surface to be made visible. |
| + |
| + This is only a request that the user intends to make your |
| + window visible. The client may choose to ignore this request. |
| + </description> |
| + </event> |
| + |
| + <event name="set_minimize" since="2"> |
|
mtomasz
2016/06/03 06:30:30
nit: set_minimized
reveman
2016/06/03 11:25:29
done
|
| + <description summary="surface wants to be minimized"> |
| + The set_minimized event is sent by the compositor when the user |
| + wants the surface to be minimized. |
| + |
| + This is only a request that the user intends to minimize the window. |
| + The client may choose to ignore this request. |
| + </description> |
| + </event> |
| + |
| + <event name="unset_minimized" since="2"> |
| + <description summary="surface wants to be restored"> |
| + The unset_minimized event is sent by the compositor when the user |
| + wants the surface to be made visible. |
| + |
| + This is only a request that the user intends to make your |
| + window visible. The client may choose to ignore this request. |
| + </description> |
| + </event> |
| </interface> |
| </protocol> |