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

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

Issue 2109763002: third_party: Update to version 7 of remote_shell_protocol (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 2dd1d700274237bee137c1641883d5cc235c6f2a..0493c1e25782331a46e66a6a7e77c24905055887 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
@@ -155,6 +155,38 @@ enum zwp_remote_shell_v1_container {
};
#endif /* ZWP_REMOTE_SHELL_V1_CONTAINER_ENUM */
+#ifndef ZWP_REMOTE_SHELL_V1_STATE_TYPE_ENUM
+#define ZWP_REMOTE_SHELL_V1_STATE_TYPE_ENUM
+/**
+ * @ingroup iface_zwp_remote_shell_v1
+ * state types for remote surfaces
+ *
+ * Defines common show states for shell surfaces.
+ */
+enum zwp_remote_shell_v1_state_type {
+ /**
+ * normal window state
+ */
+ ZWP_REMOTE_SHELL_V1_STATE_TYPE_NORMAL = 1,
+ /**
+ * minimized window state
+ */
+ ZWP_REMOTE_SHELL_V1_STATE_TYPE_MINIMIZED = 2,
+ /**
+ * maximized window state
+ */
+ ZWP_REMOTE_SHELL_V1_STATE_TYPE_MAXIMIZED = 3,
+ /**
+ * fullscreen window state
+ */
+ ZWP_REMOTE_SHELL_V1_STATE_TYPE_FULLSCREEN = 4,
+ /**
+ * pinned window state
+ */
+ ZWP_REMOTE_SHELL_V1_STATE_TYPE_PINNED = 5,
+};
+#endif /* ZWP_REMOTE_SHELL_V1_STATE_TYPE_ENUM */
+
#ifndef ZWP_REMOTE_SHELL_V1_ERROR_ENUM
#define ZWP_REMOTE_SHELL_V1_ERROR_ENUM
enum zwp_remote_shell_v1_error {
@@ -421,6 +453,21 @@ struct zwp_remote_surface_v1_listener {
*/
void (*unset_pinned)(void *data,
struct zwp_remote_surface_v1 *zwp_remote_surface_v1);
+ /**
+ * surface state type changed
+ *
+ * The state_type_changed event is sent by the compositor when
+ * the surface state changed.
+ *
+ * This is an event to notify that the window state changed in
+ * compositor. The state change may be triggered by a client's
+ * request, or some user action directly handled by the compositor.
+ * The client may choose to ignore this event.
+ * @since 7
+ */
+ void (*state_type_changed)(void *data,
+ struct zwp_remote_surface_v1 *zwp_remote_surface_v1,
+ uint32_t state_type);
};
/**

Powered by Google App Engine
This is Rietveld 408576698