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

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

Issue 2448413002: third_party: Revise version 3 of remote shell protocol (Closed)
Patch Set: Created 4 years, 2 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 989e6e4d77cdbc5f9fd8fc7cadc4ff90e65fa762..b76b91a1e28d85758df18479df00bfdb1a9f9127 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
@@ -242,7 +242,7 @@ struct zcr_remote_shell_v1_listener {
/**
* suggests a re-configuration of remote shell
*
- * Suggests a re-configuration of remote shell.
+ * Deprecated. Suggests a re-configuration of remote shell.
*/
void (*configuration_changed)(void *data,
struct zcr_remote_shell_v1 *zcr_remote_shell_v1,
@@ -255,6 +255,35 @@ struct zcr_remote_shell_v1_listener {
int32_t work_area_inset_right,
int32_t work_area_inset_bottom,
uint32_t layout_mode);
+ /**
+ * area of remote shell
+ *
+ * Defines an area of the remote shell used for layout.
+ */
+ void (*workspace)(void *data,
+ struct zcr_remote_shell_v1 *zcr_remote_shell_v1,
+ uint32_t id,
+ int32_t x,
+ int32_t y,
+ int32_t width,
+ int32_t height,
+ int32_t inset_left,
+ int32_t inset_top,
+ int32_t inset_right,
+ int32_t inset_bottom);
+ /**
+ * suggests configuration of remote shell
+ *
+ * Suggests a new configuration of the remote shell. Preceded by
+ * a series of "workspace" events.
+ */
+ void (*configure)(void *data,
+ struct zcr_remote_shell_v1 *zcr_remote_shell_v1,
+ int32_t width,
+ int32_t height,
+ int32_t transform,
+ wl_fixed_t scale_factor,
+ uint32_t layout_mode);
};
/**

Powered by Google App Engine
This is Rietveld 408576698