Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Unified Diff: third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml

Issue 2033713004: third_party: Update to version 2 of remote_shell_protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typos Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/wayland-protocols/protocol/remote-shell-protocol.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..33c0cbe34cc93acf24ef1efe1a4c53ab6f945ba5 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 minimized. The
+ 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_minimized" since="2">
+ <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>
« no previous file with comments | « third_party/wayland-protocols/protocol/remote-shell-protocol.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698