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

Unified Diff: third_party/wayland-protocols/protocol/remote-shell-protocol.c

Issue 2033713004: third_party: Update to version 2 of remote_shell_protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/protocol/remote-shell-protocol.c
diff --git a/third_party/wayland-protocols/protocol/remote-shell-protocol.c b/third_party/wayland-protocols/protocol/remote-shell-protocol.c
index f023a9dea6c513b6150b4e28e5b57c2fb7c7e4d5..7792e795b9fdc616f6cc639e13156b0a12dbe006 100644
--- a/third_party/wayland-protocols/protocol/remote-shell-protocol.c
+++ b/third_party/wayland-protocols/protocol/remote-shell-protocol.c
@@ -55,7 +55,7 @@ static const struct wl_message zwp_remote_shell_v1_events[] = {
};
WL_EXPORT const struct wl_interface zwp_remote_shell_v1_interface = {
- "zwp_remote_shell_v1", 1,
+ "zwp_remote_shell_v1", 2,
2, zwp_remote_shell_v1_requests,
2, zwp_remote_shell_v1_events,
};
@@ -65,17 +65,25 @@ static const struct wl_message zwp_remote_surface_v1_requests[] = {
{ "set_app_id", "s", types + 0 },
{ "set_window_geometry", "iiii", types + 0 },
{ "set_scale", "f", types + 0 },
+ { "fullscreen", "2", types + 0 },
+ { "maximize", "2", types + 0 },
+ { "minimize", "2", types + 0 },
+ { "restore", "2", types + 0 },
};
static const struct wl_message zwp_remote_surface_v1_events[] = {
{ "set_fullscreen", "", types + 0 },
{ "unset_fullscreen", "", types + 0 },
{ "close", "", types + 0 },
+ { "set_maximized", "2", types + 0 },
+ { "unset_maximized", "2", types + 0 },
+ { "set_minimize", "2", types + 0 },
+ { "unset_minimized", "2", types + 0 },
};
WL_EXPORT const struct wl_interface zwp_remote_surface_v1_interface = {
- "zwp_remote_surface_v1", 1,
- 4, zwp_remote_surface_v1_requests,
- 3, zwp_remote_surface_v1_events,
+ "zwp_remote_surface_v1", 2,
+ 8, zwp_remote_surface_v1_requests,
+ 7, zwp_remote_surface_v1_events,
};

Powered by Google App Engine
This is Rietveld 408576698