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

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

Issue 2276443002: Add new wayland request to enter screen locking mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix format. Created 4 years, 3 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 }; 58 };
59 59
60 static const struct wl_message zwp_remote_shell_v1_events[] = { 60 static const struct wl_message zwp_remote_shell_v1_events[] = {
61 { "configure", "iiiiii", types + 0 }, 61 { "configure", "iiiiii", types + 0 },
62 { "activated", "?o?o", types + 15 }, 62 { "activated", "?o?o", types + 15 },
63 { "layout_mode_changed", "8u", types + 0 }, 63 { "layout_mode_changed", "8u", types + 0 },
64 { "configuration_changed", "9iiifiiiiu", types + 0 }, 64 { "configuration_changed", "9iiifiiiiu", types + 0 },
65 }; 65 };
66 66
67 WL_EXPORT const struct wl_interface zwp_remote_shell_v1_interface = { 67 WL_EXPORT const struct wl_interface zwp_remote_shell_v1_interface = {
68 » "zwp_remote_shell_v1", 10, 68 » "zwp_remote_shell_v1", 11,
69 3, zwp_remote_shell_v1_requests, 69 3, zwp_remote_shell_v1_requests,
70 4, zwp_remote_shell_v1_events, 70 4, zwp_remote_shell_v1_events,
71 }; 71 };
72 72
73 static const struct wl_message zwp_remote_surface_v1_requests[] = { 73 static const struct wl_message zwp_remote_surface_v1_requests[] = {
74 { "destroy", "", types + 0 }, 74 { "destroy", "", types + 0 },
75 { "set_app_id", "s", types + 0 }, 75 { "set_app_id", "s", types + 0 },
76 { "set_window_geometry", "iiii", types + 0 }, 76 { "set_window_geometry", "iiii", types + 0 },
77 { "set_scale", "f", types + 0 }, 77 { "set_scale", "f", types + 0 },
78 { "fullscreen", "2", types + 0 }, 78 { "fullscreen", "2", types + 0 },
79 { "maximize", "2", types + 0 }, 79 { "maximize", "2", types + 0 },
80 { "minimize", "2", types + 0 }, 80 { "minimize", "2", types + 0 },
81 { "restore", "2", types + 0 }, 81 { "restore", "2", types + 0 },
82 { "pin", "3", types + 0 }, 82 { "pin", "3", types + 0 },
83 { "unpin", "3", types + 0 }, 83 { "unpin", "3", types + 0 },
84 { "unfullscreen", "3", types + 0 }, 84 { "unfullscreen", "3", types + 0 },
85 { "set_rectangular_shadow", "4iiii", types + 0 }, 85 { "set_rectangular_shadow", "4iiii", types + 0 },
86 { "set_title", "5s", types + 0 }, 86 { "set_title", "5s", types + 0 },
87 { "set_top_inset", "5i", types + 0 }, 87 { "set_top_inset", "5i", types + 0 },
88 { "set_system_modal", "8", types + 0 }, 88 { "set_system_modal", "8", types + 0 },
89 { "unset_system_modal", "8", types + 0 }, 89 { "unset_system_modal", "8", types + 0 },
90 { "set_rectangular_shadow_background_opacity", "9f", types + 0 }, 90 { "set_rectangular_shadow_background_opacity", "9f", types + 0 },
91 { "activate", "10u", types + 0 }, 91 { "activate", "10u", types + 0 },
92 { "pin_with_trusted_flag", "11i", types + 0 },
92 }; 93 };
93 94
94 static const struct wl_message zwp_remote_surface_v1_events[] = { 95 static const struct wl_message zwp_remote_surface_v1_events[] = {
95 { "set_fullscreen", "", types + 0 }, 96 { "set_fullscreen", "", types + 0 },
96 { "unset_fullscreen", "", types + 0 }, 97 { "unset_fullscreen", "", types + 0 },
97 { "close", "", types + 0 }, 98 { "close", "", types + 0 },
98 { "set_maximized", "2", types + 0 }, 99 { "set_maximized", "2", types + 0 },
99 { "unset_maximized", "2", types + 0 }, 100 { "unset_maximized", "2", types + 0 },
100 { "set_minimized", "2", types + 0 }, 101 { "set_minimized", "2", types + 0 },
101 { "unset_minimized", "2", types + 0 }, 102 { "unset_minimized", "2", types + 0 },
102 { "set_pinned", "3", types + 0 }, 103 { "set_pinned", "3", types + 0 },
103 { "unset_pinned", "3", types + 0 }, 104 { "unset_pinned", "3", types + 0 },
104 { "state_type_changed", "7u", types + 0 }, 105 { "state_type_changed", "7u", types + 0 },
105 }; 106 };
106 107
107 WL_EXPORT const struct wl_interface zwp_remote_surface_v1_interface = { 108 WL_EXPORT const struct wl_interface zwp_remote_surface_v1_interface = {
108 » "zwp_remote_surface_v1", 10, 109 » "zwp_remote_surface_v1", 11,
109 » 18, zwp_remote_surface_v1_requests, 110 » 19, zwp_remote_surface_v1_requests,
110 10, zwp_remote_surface_v1_events, 111 10, zwp_remote_surface_v1_events,
111 }; 112 };
112 113
113 static const struct wl_message zwp_notification_surface_v1_requests[] = { 114 static const struct wl_message zwp_notification_surface_v1_requests[] = {
114 { "destroy", "", types + 0 }, 115 { "destroy", "", types + 0 },
115 }; 116 };
116 117
117 WL_EXPORT const struct wl_interface zwp_notification_surface_v1_interface = { 118 WL_EXPORT const struct wl_interface zwp_notification_surface_v1_interface = {
118 "zwp_notification_surface_v1", 6, 119 "zwp_notification_surface_v1", 6,
119 1, zwp_notification_surface_v1_requests, 120 1, zwp_notification_surface_v1_requests,
120 0, NULL, 121 0, NULL,
121 }; 122 };
122 123
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698