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

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: Squash versions 3 and 4 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
« no previous file with comments | « no previous file | third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1590041142dec3f66b51f3d69c133f1a2d4563d8..f5675a5e2602d6a95e7c93f492c402010b2c9c7f 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
@@ -246,7 +246,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,
@@ -259,6 +259,38 @@ 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. Each
+ * series of "workspace" events must be terminated by a "configure"
+ * event.
+ */
+ void (*workspace)(void *data,
+ struct zcr_remote_shell_v1 *zcr_remote_shell_v1,
+ uint32_t id_hi,
+ uint32_t id_lo,
+ 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,
+ uint32_t primary_id_hi,
+ uint32_t primary_id_lo,
+ int32_t transform,
+ wl_fixed_t scale_factor,
+ uint32_t layout_mode);
};
/**
@@ -284,6 +316,14 @@ zcr_remote_shell_v1_add_listener(struct zcr_remote_shell_v1 *zcr_remote_shell_v1
* @ingroup iface_zcr_remote_shell_v1
*/
#define ZCR_REMOTE_SHELL_V1_CONFIGURATION_CHANGED_SINCE_VERSION 1
+/**
+ * @ingroup iface_zcr_remote_shell_v1
+ */
+#define ZCR_REMOTE_SHELL_V1_WORKSPACE_SINCE_VERSION 1
+/**
+ * @ingroup iface_zcr_remote_shell_v1
+ */
+#define ZCR_REMOTE_SHELL_V1_CONFIGURE_SINCE_VERSION 1
/**
* @ingroup iface_zcr_remote_shell_v1
@@ -414,11 +454,8 @@ struct zcr_remote_surface_v1_listener {
*
* The configure event asks the client to change surface state.
*
- * The origin arguments specify the position, in the compositor
- * coordinate space, of the virtual display used by the client to
- * simulate multiple displays. The client must offset window
- * positions in set_window_geometry requests by this origin in
- * order to convert between coordinate spaces.
+ * The client must apply the origin offset to window positions in
+ * set_window_geometry requests.
*
* The states listed in the event are state_type values, and might
* change due to a client request or an event directly handled by
@@ -435,8 +472,8 @@ struct zcr_remote_surface_v1_listener {
*/
void (*configure)(void *data,
struct zcr_remote_surface_v1 *zcr_remote_surface_v1,
- int32_t origin_x,
- int32_t origin_y,
+ int32_t origin_offset_x,
+ int32_t origin_offset_y,
struct wl_array *states,
uint32_t serial);
};
« no previous file with comments | « no previous file | third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698