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

Unified Diff: third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-client-protocol.h

Issue 2777373002: Add set_autohide_systemui to wayland protocol (Closed)
Patch Set: Add autohide systemui request to wayland Created 3 years, 9 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
Index: third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-client-protocol.h
diff --git a/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-client-protocol.h b/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-client-protocol.h
index c0662f65f3993728f998f64a0093310c33562f44..d99143cea91b36316b4d2f315b0d180db8132c69 100644
--- a/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-client-protocol.h
+++ b/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-client-protocol.h
@@ -601,11 +601,15 @@ zcr_remote_surface_v1_add_listener(struct zcr_remote_surface_v1 *zcr_remote_surf
/**
* @ingroup iface_zcr_remote_surface_v1
*/
-#define ZCR_REMOTE_SURFACE_V1_ACK_CONFIGURE_SINCE_VERSION 3
+#define ZCR_REMOTE_SURFACE_V1_SET_AUTOHIDE_SYSTEMUI_SINCE_VERSION 3
/**
* @ingroup iface_zcr_remote_surface_v1
*/
-#define ZCR_REMOTE_SURFACE_V1_MOVE_SINCE_VERSION 3
+#define ZCR_REMOTE_SURFACE_V1_ACK_CONFIGURE_SINCE_VERSION 4
+/**
+ * @ingroup iface_zcr_remote_surface_v1
+ */
+#define ZCR_REMOTE_SURFACE_V1_MOVE_SINCE_VERSION 4
/** @ingroup iface_zcr_remote_surface_v1 */
static inline void
@@ -942,6 +946,20 @@ zcr_remote_surface_v1_set_rectangular_surface_shadow(struct zcr_remote_surface_v
/**
* @ingroup iface_zcr_remote_surface_v1
*
+ * Suggests whether or not the surface should autohide the systemui when it
+ * is made active.
+ *
+static inline void
+zcr_remote_surface_v1_set_auto_hide_systemui(struct zcr_remote_surface_v1
+*zcr_remote_surface_v1, int32_t autohide)
+{
+ wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1,
+ ZCR_REMOTE_SURFACE_V1_SET_RECTANGULAR_SURFACE_SHADOW, autohide);
+}
+
+/**
+ * @ingroup iface_zcr_remote_surface_v1
+ *
* When a configure event is received, if a client commits the
* surface in response to the configure event, then the client
* must make an ack_configure request sometime before the commit

Powered by Google App Engine
This is Rietveld 408576698