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

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

Issue 2785283003: Add set_autohide_systemui to wayland protocol (Closed)
Patch Set: 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-server-protocol.h
diff --git a/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h b/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h
index a4f72cae4b514a2774c5f38dc5a4e3506f675944..d824a97cfbdebf72e59c88a791a1befade3c6f83 100644
--- a/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h
+++ b/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h
@@ -1,4 +1,4 @@
-/* Generated by wayland-scanner 1.11.0 */
+/* Generated by wayland-scanner 1.12.90 */
#ifndef REMOTE_SHELL_UNSTABLE_V1_SERVER_PROTOCOL_H
#define REMOTE_SHELL_UNSTABLE_V1_SERVER_PROTOCOL_H
@@ -326,6 +326,30 @@ zcr_remote_shell_v1_send_configuration_changed(struct wl_resource *resource_, in
wl_resource_post_event(resource_, ZCR_REMOTE_SHELL_V1_CONFIGURATION_CHANGED, width, height, transform, scale_factor, work_area_inset_left, work_area_inset_top, work_area_inset_right, work_area_inset_bottom, layout_mode);
}
+#ifndef ZCR_REMOTE_SURFACE_V1_SYSTEMUI_VISIBILITY_STATE_ENUM
+#define ZCR_REMOTE_SURFACE_V1_SYSTEMUI_VISIBILITY_STATE_ENUM
+/**
+ * @ingroup iface_zcr_remote_surface_v1
+ * systemui visibility behavior
+ *
+ * Determine the visibility behavior of the system UI.
+ */
+enum zcr_remote_surface_v1_systemui_visibility_state {
+ /**
+ * system ui is visible
+ */
+ ZCR_REMOTE_SURFACE_V1_SYSTEMUI_VISIBILITY_STATE_VISIBLE = 1,
+ /**
+ * system ui autohides and is not sticky
+ */
+ ZCR_REMOTE_SURFACE_V1_SYSTEMUI_VISIBILITY_STATE_AUTOHIDE_NON_STICKY = 2,
+ /**
+ * system ui autohides and is sticky
+ */
+ ZCR_REMOTE_SURFACE_V1_SYSTEMUI_VISIBILITY_STATE_AUTOHIDE_STICKY = 3,
+};
+#endif /* ZCR_REMOTE_SURFACE_V1_SYSTEMUI_VISIBILITY_STATE_ENUM */
+
/**
* @ingroup iface_zcr_remote_surface_v1
* @struct zcr_remote_surface_v1_interface
@@ -576,6 +600,16 @@ struct zcr_remote_surface_v1_interface {
int32_t width,
int32_t height);
/**
+ * requests the system ui visibility behavior for the surface
+ *
+ * Requests how the surface will change the visibility of the
+ * system UI when it is made active.
+ * @since 3
+ */
+ void (*set_systemui_visibility)(struct wl_client *client,
+ struct wl_resource *resource,
+ uint32_t visibility);
+ /**
* ack a configure event
*
* When a configure event is received, if a client commits the
@@ -600,7 +634,7 @@ struct zcr_remote_surface_v1_interface {
* indicates which configure event the client really is responding
* to.
* @param serial the serial from the configure event
- * @since 3
+ * @since 4
*/
void (*ack_configure)(struct wl_client *client,
struct wl_resource *resource,
@@ -619,7 +653,7 @@ struct zcr_remote_surface_v1_interface {
*
* The compositor may ignore move requests depending on the state
* of the surface, e.g. fullscreen or maximized.
- * @since 3
+ * @since 4
*/
void (*move)(struct wl_client *client,
struct wl_resource *resource);
@@ -640,7 +674,7 @@ struct zcr_remote_surface_v1_interface {
/**
* @ingroup iface_zcr_remote_surface_v1
*/
-#define ZCR_REMOTE_SURFACE_V1_CONFIGURE_SINCE_VERSION 3
+#define ZCR_REMOTE_SURFACE_V1_CONFIGURE_SINCE_VERSION 4
/**
* @ingroup iface_zcr_remote_surface_v1
@@ -721,11 +755,15 @@ struct zcr_remote_surface_v1_interface {
/**
* @ingroup iface_zcr_remote_surface_v1
*/
-#define ZCR_REMOTE_SURFACE_V1_ACK_CONFIGURE_SINCE_VERSION 3
+#define ZCR_REMOTE_SURFACE_V1_SET_SYSTEMUI_VISIBILITY_SINCE_VERSION 3
+/**
+ * @ingroup iface_zcr_remote_surface_v1
+ */
+#define ZCR_REMOTE_SURFACE_V1_ACK_CONFIGURE_SINCE_VERSION 4
/**
* @ingroup iface_zcr_remote_surface_v1
*/
-#define ZCR_REMOTE_SURFACE_V1_MOVE_SINCE_VERSION 3
+#define ZCR_REMOTE_SURFACE_V1_MOVE_SINCE_VERSION 4
/**
* @ingroup iface_zcr_remote_surface_v1

Powered by Google App Engine
This is Rietveld 408576698