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

Side by Side 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, 4 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 20 matching lines...) Expand all
31 extern const struct wl_interface zwp_notification_surface_v1_interface; 31 extern const struct wl_interface zwp_notification_surface_v1_interface;
32 extern const struct wl_interface zwp_remote_surface_v1_interface; 32 extern const struct wl_interface zwp_remote_surface_v1_interface;
33 33
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,
42 NULL,
43 NULL,
41 &zwp_remote_surface_v1_interface, 44 &zwp_remote_surface_v1_interface,
42 &wl_surface_interface, 45 &wl_surface_interface,
43 NULL, 46 NULL,
44 &zwp_notification_surface_v1_interface, 47 &zwp_notification_surface_v1_interface,
45 &wl_surface_interface, 48 &wl_surface_interface,
46 NULL, 49 NULL,
47 &wl_surface_interface, 50 &wl_surface_interface,
48 &wl_surface_interface, 51 &wl_surface_interface,
49 }; 52 };
50 53
51 static const struct wl_message zwp_remote_shell_v1_requests[] = { 54 static const struct wl_message zwp_remote_shell_v1_requests[] = {
52 { "destroy", "", types + 0 }, 55 { "destroy", "", types + 0 },
53 » { "get_remote_surface", "nou", types + 6 }, 56 » { "get_remote_surface", "nou", types + 9 },
54 » { "get_notification_surface", "6nos", types + 9 }, 57 » { "get_notification_surface", "6nos", types + 12 },
55 }; 58 };
56 59
57 static const struct wl_message zwp_remote_shell_v1_events[] = { 60 static const struct wl_message zwp_remote_shell_v1_events[] = {
58 { "configure", "iiiiii", types + 0 }, 61 { "configure", "iiiiii", types + 0 },
59 » { "activated", "?o?o", types + 12 }, 62 » { "activated", "?o?o", types + 15 },
60 { "layout_mode_changed", "8u", types + 0 }, 63 { "layout_mode_changed", "8u", types + 0 },
64 { "configuration_changed", "9iiifiiiiu", types + 0 },
61 }; 65 };
62 66
63 WL_EXPORT const struct wl_interface zwp_remote_shell_v1_interface = { 67 WL_EXPORT const struct wl_interface zwp_remote_shell_v1_interface = {
64 » "zwp_remote_shell_v1", 8, 68 » "zwp_remote_shell_v1", 9,
65 3, zwp_remote_shell_v1_requests, 69 3, zwp_remote_shell_v1_requests,
66 » 3, zwp_remote_shell_v1_events, 70 » 4, zwp_remote_shell_v1_events,
67 }; 71 };
68 72
69 static const struct wl_message zwp_remote_surface_v1_requests[] = { 73 static const struct wl_message zwp_remote_surface_v1_requests[] = {
70 { "destroy", "", types + 0 }, 74 { "destroy", "", types + 0 },
71 { "set_app_id", "s", types + 0 }, 75 { "set_app_id", "s", types + 0 },
72 { "set_window_geometry", "iiii", types + 0 }, 76 { "set_window_geometry", "iiii", types + 0 },
73 { "set_scale", "f", types + 0 }, 77 { "set_scale", "f", types + 0 },
74 { "fullscreen", "2", types + 0 }, 78 { "fullscreen", "2", types + 0 },
75 { "maximize", "2", types + 0 }, 79 { "maximize", "2", types + 0 },
76 { "minimize", "2", types + 0 }, 80 { "minimize", "2", types + 0 },
77 { "restore", "2", types + 0 }, 81 { "restore", "2", types + 0 },
78 { "pin", "3", types + 0 }, 82 { "pin", "3", types + 0 },
79 { "unpin", "3", types + 0 }, 83 { "unpin", "3", types + 0 },
80 { "unfullscreen", "3", types + 0 }, 84 { "unfullscreen", "3", types + 0 },
81 { "set_rectangular_shadow", "4iiii", types + 0 }, 85 { "set_rectangular_shadow", "4iiii", types + 0 },
82 { "set_title", "5s", types + 0 }, 86 { "set_title", "5s", types + 0 },
83 { "set_top_inset", "5i", types + 0 }, 87 { "set_top_inset", "5i", types + 0 },
84 { "set_system_modal", "8", types + 0 }, 88 { "set_system_modal", "8", types + 0 },
85 { "unset_system_modal", "8", types + 0 }, 89 { "unset_system_modal", "8", types + 0 },
90 { "set_rectangular_shadow_background_opacity", "9f", types + 0 },
86 }; 91 };
87 92
88 static const struct wl_message zwp_remote_surface_v1_events[] = { 93 static const struct wl_message zwp_remote_surface_v1_events[] = {
89 { "set_fullscreen", "", types + 0 }, 94 { "set_fullscreen", "", types + 0 },
90 { "unset_fullscreen", "", types + 0 }, 95 { "unset_fullscreen", "", types + 0 },
91 { "close", "", types + 0 }, 96 { "close", "", types + 0 },
92 { "set_maximized", "2", types + 0 }, 97 { "set_maximized", "2", types + 0 },
93 { "unset_maximized", "2", types + 0 }, 98 { "unset_maximized", "2", types + 0 },
94 { "set_minimized", "2", types + 0 }, 99 { "set_minimized", "2", types + 0 },
95 { "unset_minimized", "2", types + 0 }, 100 { "unset_minimized", "2", types + 0 },
96 { "set_pinned", "3", types + 0 }, 101 { "set_pinned", "3", types + 0 },
97 { "unset_pinned", "3", types + 0 }, 102 { "unset_pinned", "3", types + 0 },
98 { "state_type_changed", "7u", types + 0 }, 103 { "state_type_changed", "7u", types + 0 },
99 }; 104 };
100 105
101 WL_EXPORT const struct wl_interface zwp_remote_surface_v1_interface = { 106 WL_EXPORT const struct wl_interface zwp_remote_surface_v1_interface = {
102 » "zwp_remote_surface_v1", 8, 107 » "zwp_remote_surface_v1", 9,
103 » 16, zwp_remote_surface_v1_requests, 108 » 17, zwp_remote_surface_v1_requests,
104 10, zwp_remote_surface_v1_events, 109 10, zwp_remote_surface_v1_events,
105 }; 110 };
106 111
107 static const struct wl_message zwp_notification_surface_v1_requests[] = { 112 static const struct wl_message zwp_notification_surface_v1_requests[] = {
108 { "destroy", "", types + 0 }, 113 { "destroy", "", types + 0 },
109 }; 114 };
110 115
111 WL_EXPORT const struct wl_interface zwp_notification_surface_v1_interface = { 116 WL_EXPORT const struct wl_interface zwp_notification_surface_v1_interface = {
112 "zwp_notification_surface_v1", 6, 117 "zwp_notification_surface_v1", 6,
113 1, zwp_notification_surface_v1_requests, 118 1, zwp_notification_surface_v1_requests,
114 0, NULL, 119 0, NULL,
115 }; 120 };
116 121
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698