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

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

Issue 2062133002: third_party: Update to version 6 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/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 58ec542fa43d99cbd13538bc3146ca31990f93aa..e090c50b28821a1db3975c221d5abef7a8934ac2 100644
--- a/third_party/wayland-protocols/protocol/remote-shell-protocol.c
+++ b/third_party/wayland-protocols/protocol/remote-shell-protocol.c
@@ -1,19 +1,17 @@
-/* Generated by wayland-scanner 1.11.0 */
reveman 2016/06/14 17:05:35 nit: please use wayland-scanner 1.11.0 to generate
xiyuan 2016/06/14 17:27:09 Done.
-
-/*
+/*
* Copyright 2016 The Chromium Authors.
- *
+ *
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
- *
+ *
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
- *
+ *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
@@ -27,8 +25,12 @@
#include <stdint.h>
#include "wayland-util.h"
-extern const struct wl_interface wl_surface_interface;
extern const struct wl_interface zwp_remote_surface_v1_interface;
+extern const struct wl_interface wl_surface_interface;
+extern const struct wl_interface zwp_notification_surface_v1_interface;
+extern const struct wl_interface wl_surface_interface;
+extern const struct wl_interface wl_surface_interface;
+extern const struct wl_interface wl_surface_interface;
static const struct wl_interface *types[] = {
NULL,
@@ -40,6 +42,9 @@ static const struct wl_interface *types[] = {
&zwp_remote_surface_v1_interface,
&wl_surface_interface,
NULL,
+ &zwp_notification_surface_v1_interface,
+ &wl_surface_interface,
+ NULL,
&wl_surface_interface,
&wl_surface_interface,
};
@@ -47,16 +52,17 @@ 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", "4nos", types + 9 },
};
static const struct wl_message zwp_remote_shell_v1_events[] = {
- { "configure", "iiiiii", types + 0 },
- { "activated", "?o?o", types + 9 },
+ { "configure", "4iiiiii", types + 0 },
+ { "activated", "4?o?o", types + 12 },
};
WL_EXPORT const struct wl_interface zwp_remote_shell_v1_interface = {
- "zwp_remote_shell_v1", 3,
- 2, zwp_remote_shell_v1_requests,
+ "zwp_remote_shell_v1", 4,
+ 3, zwp_remote_shell_v1_requests,
2, zwp_remote_shell_v1_events,
};
@@ -94,3 +100,13 @@ WL_EXPORT const struct wl_interface zwp_remote_surface_v1_interface = {
11, zwp_remote_surface_v1_events,
};
+static const struct wl_message zwp_notification_surface_v1_requests[] = {
+ { "destroy", "", types + 0 },
+};
+
+WL_EXPORT const struct wl_interface zwp_notification_surface_v1_interface = {
+ "zwp_notification_surface_v1", 4,
+ 1, zwp_notification_surface_v1_requests,
+ 0, NULL,
+};
+

Powered by Google App Engine
This is Rietveld 408576698