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

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

Issue 2189073003: Add configuration_changed event and set_background_opacity request. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: formatting Created 4 years, 5 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 442124cb45aae748e7ca8d14755619464cedcb51..766b03ed4d08c3b5337e560ff0225c673c0ddb85 100644
--- a/third_party/wayland-protocols/protocol/remote-shell-protocol.c
+++ b/third_party/wayland-protocols/protocol/remote-shell-protocol.c
@@ -38,6 +38,9 @@ static const struct wl_interface *types[] = {
NULL,
NULL,
NULL,
+ NULL,
+ NULL,
+ NULL,
&zwp_remote_surface_v1_interface,
&wl_surface_interface,
NULL,
@@ -50,20 +53,21 @@ static const struct wl_interface *types[] = {
static const struct wl_message zwp_remote_shell_v1_requests[] = {
{ "destroy", "", types + 0 },
- { "get_remote_surface", "nou", types + 6 },
- { "get_notification_surface", "6nos", types + 9 },
+ { "get_remote_surface", "nou", types + 9 },
+ { "get_notification_surface", "6nos", types + 12 },
};
static const struct wl_message zwp_remote_shell_v1_events[] = {
{ "configure", "iiiiii", types + 0 },
- { "activated", "?o?o", types + 12 },
+ { "activated", "?o?o", types + 15 },
{ "layout_mode_changed", "8u", types + 0 },
+ { "configuration_changed", "9iiifiiiiu", types + 0 },
};
WL_EXPORT const struct wl_interface zwp_remote_shell_v1_interface = {
- "zwp_remote_shell_v1", 8,
+ "zwp_remote_shell_v1", 9,
3, zwp_remote_shell_v1_requests,
- 3, zwp_remote_shell_v1_events,
+ 4, zwp_remote_shell_v1_events,
};
static const struct wl_message zwp_remote_surface_v1_requests[] = {
@@ -83,6 +87,7 @@ static const struct wl_message zwp_remote_surface_v1_requests[] = {
{ "set_top_inset", "5i", types + 0 },
{ "set_system_modal", "8", types + 0 },
{ "unset_system_modal", "8", types + 0 },
+ { "set_rectangular_shadow_background_opacity", "9f", types + 0 },
};
static const struct wl_message zwp_remote_surface_v1_events[] = {
@@ -99,8 +104,8 @@ static const struct wl_message zwp_remote_surface_v1_events[] = {
};
WL_EXPORT const struct wl_interface zwp_remote_surface_v1_interface = {
- "zwp_remote_surface_v1", 8,
- 16, zwp_remote_surface_v1_requests,
+ "zwp_remote_surface_v1", 9,
+ 17, zwp_remote_surface_v1_requests,
10, zwp_remote_surface_v1_events,
};

Powered by Google App Engine
This is Rietveld 408576698