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

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

Powered by Google App Engine
This is Rietveld 408576698