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

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

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 unified diff | Download patch
OLDNEW
1 /* Generated by wayland-scanner 1.11.0 */ 1 /* Generated by wayland-scanner 1.11.0 */
2 2
3 /* 3 /*
4 * Copyright 2016 The Chromium Authors. 4 * Copyright 2016 The Chromium Authors.
5 * 5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"), 7 * copy of this software and associated documentation files (the "Software"),
8 * to deal in the Software without restriction, including without limitation 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the 10 * and/or sell copies of the Software, and to permit persons to whom the
(...skipping 23 matching lines...) Expand all
34 static const struct wl_interface *types[] = { 34 static const struct wl_interface *types[] = {
35 NULL, 35 NULL,
36 NULL, 36 NULL,
37 NULL, 37 NULL,
38 NULL, 38 NULL,
39 NULL, 39 NULL,
40 NULL, 40 NULL,
41 NULL, 41 NULL,
42 NULL, 42 NULL,
43 NULL, 43 NULL,
44 NULL,
44 &zcr_remote_surface_v1_interface, 45 &zcr_remote_surface_v1_interface,
45 &wl_surface_interface, 46 &wl_surface_interface,
46 NULL, 47 NULL,
47 &zcr_notification_surface_v1_interface, 48 &zcr_notification_surface_v1_interface,
48 &wl_surface_interface, 49 &wl_surface_interface,
49 NULL, 50 NULL,
50 &wl_surface_interface, 51 &wl_surface_interface,
51 &wl_surface_interface, 52 &wl_surface_interface,
52 }; 53 };
53 54
54 static const struct wl_message zcr_remote_shell_v1_requests[] = { 55 static const struct wl_message zcr_remote_shell_v1_requests[] = {
55 { "destroy", "", types + 0 }, 56 { "destroy", "", types + 0 },
56 » { "get_remote_surface", "nou", types + 9 }, 57 » { "get_remote_surface", "nou", types + 10 },
57 » { "get_notification_surface", "nos", types + 12 }, 58 » { "get_notification_surface", "nos", types + 13 },
58 }; 59 };
59 60
60 static const struct wl_message zcr_remote_shell_v1_events[] = { 61 static const struct wl_message zcr_remote_shell_v1_events[] = {
61 » { "activated", "?o?o", types + 15 }, 62 » { "activated", "?o?o", types + 16 },
62 { "configuration_changed", "iiifiiiiu", types + 0 }, 63 { "configuration_changed", "iiifiiiiu", types + 0 },
64 { "workspace", "uuiiiiiiii", types + 0 },
65 { "configure", "uuifu", types + 0 },
63 }; 66 };
64 67
65 WL_EXPORT const struct wl_interface zcr_remote_shell_v1_interface = { 68 WL_EXPORT const struct wl_interface zcr_remote_shell_v1_interface = {
66 "zcr_remote_shell_v1", 3, 69 "zcr_remote_shell_v1", 3,
67 3, zcr_remote_shell_v1_requests, 70 3, zcr_remote_shell_v1_requests,
68 » 2, zcr_remote_shell_v1_events, 71 » 4, zcr_remote_shell_v1_events,
69 }; 72 };
70 73
71 static const struct wl_message zcr_remote_surface_v1_requests[] = { 74 static const struct wl_message zcr_remote_surface_v1_requests[] = {
72 { "destroy", "", types + 0 }, 75 { "destroy", "", types + 0 },
73 { "set_app_id", "s", types + 0 }, 76 { "set_app_id", "s", types + 0 },
74 { "set_window_geometry", "iiii", types + 0 }, 77 { "set_window_geometry", "iiii", types + 0 },
75 { "set_scale", "f", types + 0 }, 78 { "set_scale", "f", types + 0 },
76 { "set_rectangular_shadow", "iiii", types + 0 }, 79 { "set_rectangular_shadow", "iiii", types + 0 },
77 { "set_rectangular_shadow_background_opacity", "f", types + 0 }, 80 { "set_rectangular_shadow_background_opacity", "f", types + 0 },
78 { "set_title", "s", types + 0 }, 81 { "set_title", "s", types + 0 },
(...skipping 28 matching lines...) Expand all
107 static const struct wl_message zcr_notification_surface_v1_requests[] = { 110 static const struct wl_message zcr_notification_surface_v1_requests[] = {
108 { "destroy", "", types + 0 }, 111 { "destroy", "", types + 0 },
109 }; 112 };
110 113
111 WL_EXPORT const struct wl_interface zcr_notification_surface_v1_interface = { 114 WL_EXPORT const struct wl_interface zcr_notification_surface_v1_interface = {
112 "zcr_notification_surface_v1", 1, 115 "zcr_notification_surface_v1", 1,
113 1, zcr_notification_surface_v1_requests, 116 1, zcr_notification_surface_v1_requests,
114 0, NULL, 117 0, NULL,
115 }; 118 };
116 119
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698