Chromium Code Reviews| 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, |
| +}; |
| + |