summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroki Sato <hirokisato@google.com>2023-03-01 09:40:44 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-03-01 09:40:44 +0000
commit7b337f389cf240a3429e267636f08a2fc630b90a (patch)
tree9d0dd46ca1f3f861e8a31a73ef34e719d709e6c9
parent48c811118a51bbf576b4bef015a0381dcf02b9f4 (diff)
parent32a14e1406a430e960454706643795f1d1da938d (diff)
downloadwayland-protocols-7b337f389cf240a3429e267636f08a2fc630b90a.tar.gz
Update aura-shell.xml to version 51 am: 59adf2c545 am: 3710128818 am: 6282dcd4f9 am: 32a14e1406
Original change: https://android-review.googlesource.com/c/platform/external/wayland-protocols/+/2462653 Change-Id: I37adb94955fae52c88b9ef9020e221542b62e9b9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--chromium.org/unstable/aura-shell/aura-shell.xml78
1 files changed, 74 insertions, 4 deletions
diff --git a/chromium.org/unstable/aura-shell/aura-shell.xml b/chromium.org/unstable/aura-shell/aura-shell.xml
index 55fed92..f889bf0 100644
--- a/chromium.org/unstable/aura-shell/aura-shell.xml
+++ b/chromium.org/unstable/aura-shell/aura-shell.xml
@@ -24,7 +24,7 @@
DEALINGS IN THE SOFTWARE.
</copyright>
- <interface name="zaura_shell" version="47">
+ <interface name="zaura_shell" version="51">
<description summary="aura_shell">
The global interface exposing aura shell capabilities is used to
instantiate an interface extension for a wl_surface object.
@@ -160,7 +160,7 @@
</request>
</interface>
- <interface name="zaura_surface" version="47">
+ <interface name="zaura_surface" version="51">
<description summary="aura shell interface to a wl_surface">
An additional interface to a wl_surface object, which allows the
client to access aura shell specific functionality for surface.
@@ -353,6 +353,7 @@
<request name="intent_to_snap" since="16">
<description summary="client intents to snap the surface.">
+ [Deprecated] Use intent_to_snap on zaura_toplevel.
Notify (or inform) the server the client's intent to snap the window.
To inform it's no longer willing to snap, send 'none'.
</description>
@@ -361,18 +362,21 @@
<request name="set_snap_left" since="16">
<description summary="snap the surface to the left.">
+ [Deprecated] Use set_snap_primary on zaura_toplevel.
Request that surface is snapped to the left.
</description>
</request>
<request name="set_snap_right" since="16">
<description summary="snap the surface to the right.">
+ [Deprecated] Use set_snap_secondary on zaura_toplevel.
Request that surface is snapped to the right.
</description>
</request>
<request name="unset_snap" since="16">
<description summary="Unset the surface snap.">
+ [Deprecated] Use unset_snap on zaura_toplevel.
Request that surface resets snapping.
</description>
</request>
@@ -584,6 +588,15 @@
Informs the client that the tooltip is hidden.
</description>
</event>
+
+ <!-- Version 51 additions -->
+ <request name="set_accessibility_id" since="51">
+ <description summary="set accessibility ID to the surface">
+ Set accessibility window ID to the surface. A negative number removes
+ the existing accessibility ID from the surface.
+ </description>
+ <arg name="id" type="int" summary="Accessibility ID. Negative number removes existing accessibility ID from the surface."/>
+ </request>
</interface>
<interface name="zaura_output" version="45">
@@ -751,7 +764,7 @@
</event>
</interface>
- <interface name="zaura_toplevel" version="46">
+ <interface name="zaura_toplevel" version="50">
<description summary="aura shell interface to the toplevel shell">
An interface to the toplevel shell, which allows the
client to access shell specific functionality.
@@ -1046,10 +1059,67 @@
representations for IEEE 754 floats, this protocol implicitly assumes
that the caller and receiver are the same machine. To avoid redundant
messages, this request needs to only be called once when the zaura
- toplevel scale factor changes.
+ toplevel scale factor changes. This is double buffered state and will be
+ applied in the next commit.
</description>
<arg name="scale_factor_as_uint" type="uint"/>
</request>
+
+ <!-- Version 48 additions-->
+ <request name="set_snap_primary" since="48">
+ <description summary="snap the surface to the primary snap position.">
+ Request that surface is snapped to the left or top if primary layout,
+ right or bottom otherwise.
+ </description>/>
+ <arg name="snap_ratio_as_uint" type="uint"/>
+ </request>
+
+ <request name="set_snap_secondary" since="48">
+ <description summary="snap the surface to the secondary snap position.">
+ Request that surface is snapped to the right or bottom if primary
+ layout, left or top otherwise.
+ </description>
+ <arg name="snap_ratio_as_uint" type="uint"/>
+ </request>
+
+ <!-- Version 49 additions-->
+ <enum name="snap_direction">
+ <description summary="window snap directions">
+ Window snap directions.
+ </description>
+ <entry name="none" value="0" summary="unsnap the window"/>
+ <entry name="primary" value="1" summary="snap the window to the left or
+ top in primary layout, right or bottom in secondary layout"/>
+ <entry name="secondary" value="2" summary="snap the window to the right
+ or bottom in primary layout, top or left in secondary layout"/>
+ </enum>
+
+ <request name="intent_to_snap" since="49">
+ <description summary="client intents to snap the surface.">
+ Notify (or inform) the server the client's intent to snap the window.
+ To inform it's no longer willing to snap, send 'none'.
+ </description>
+ <arg name="direction" type="uint" enum="snap_direction"/>
+ </request>
+
+ <request name="unset_snap" since="49">
+ <description summary="Unset the window snap.">
+ Request that window unsets snapping.
+ </description>
+ </request>
+
+ <!-- Version 50 additions -->
+ <event name="configure_raster_scale" since="50">
+ <description summary="set the raster scale during a configure">
+ Sets the raster scale of this window. This should be called during a
+ configure event sequence. To do so we reinterpret_cast into a 32-bit
+ uint and later cast back into a float. This is because wayland does not
+ support native transport of floats. As different CPU architectures may
+ use different endian representations for IEEE 754 floats, this protocol
+ implicitly assumes that the caller and receiver are the same machine.
+ </description>
+ <arg name="scale" type="uint" summary="Raster scale, in float format"/>
+ </event>
</interface>
<interface name="zaura_popup" version="46">