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

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

Issue 2664403004: Use pixel coordinates for shadow underlay bounds (Closed)
Patch Set: addressed comment Created 3 years, 10 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 e6855032a1e4caa54b1ed22c90b728d068788a60..2e5d974ddae0bc249432759bb1e544bad5918ecf 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="zcr_remote_shell_v1" version="2">
+ <interface name="zcr_remote_shell_v1" version="3">
<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
@@ -140,7 +140,7 @@
</event>
</interface>
- <interface name="zcr_remote_surface_v1" version="2">
+ <interface name="zcr_remote_surface_v1" version="3">
<description summary="A desktop window">
An interface that may be implemented by a wl_surface, for
implementations that provide a desktop-style user interface
@@ -207,7 +207,7 @@
<request name="set_rectangular_shadow">
<description summary="set a rectangular shadow">
- Request that surface needs a rectangular shadow.
+ [Deprecated] Request that surface needs a rectangular shadow.
This is only a request that the surface should have a rectangular
shadow. The compositor may choose to ignore this request.
@@ -382,7 +382,26 @@
<!-- Version 2 additions -->
- <event name="configure" since="2">
+ <request name="set_rectangular_surface_shadow" since="2">
+ <description summary="set a rectangular shadow">
+ Request that surface needs a rectangular shadow.
+
+ This is only a request that the surface should have a rectangular
+ shadow. The compositor may choose to ignore this request.
+
+ The arguments are given in the remote surface coordinate space and
+ specifies inner bounds of the shadow. Specifying zero width and height
+ will disable the shadow.
+ </description>
+ <arg name="x" type="int"/>
+ <arg name="y" type="int"/>
+ <arg name="width" type="int"/>
+ <arg name="height" type="int"/>
+ </request>
+
+ <!-- Version 3 additions -->
+
+ <event name="configure" since="3">
<description summary="suggest a surface change">
The configure event asks the client to change surface state.
@@ -403,7 +422,7 @@
<arg name="serial" type="uint"/>
</event>
- <request name="ack_configure" since="2">
+ <request name="ack_configure" since="3">
<description summary="ack a configure event">
When a configure event is received, if a client commits the
surface in response to the configure event, then the client
@@ -428,7 +447,7 @@
<arg name="serial" type="uint" summary="the serial from the configure event"/>
</request>
- <request name="set_moving" since="2">
+ <request name="set_moving" since="3">
<description summary="interactive move started">
Notifies the compositor when an interactive, user-driven move of the
surface starts. The compositor may assume that subsequent
@@ -437,13 +456,14 @@
</description>
</request>
- <request name="unset_moving" since="2">
+ <request name="unset_moving" since="3">
<description summary="interactive move stopped">
Notifies the compositor when an interactive, user-driven move of the
surface stops. The compositor may choose to stop the move regardless
of this request.
</description>
</request>
+
</interface>
<interface name="zcr_notification_surface_v1" version="1">
« 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