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

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

Issue 2686533004: Use pixel coordinates for shadow underlay bounds (Closed)
Patch Set: remove unnecessary changes Created 3 years, 10 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 { "get_remote_surface", "nou", types + 9 }, 56 { "get_remote_surface", "nou", types + 9 },
57 { "get_notification_surface", "nos", types + 12 }, 57 { "get_notification_surface", "nos", types + 12 },
58 }; 58 };
59 59
60 static const struct wl_message zcr_remote_shell_v1_events[] = { 60 static const struct wl_message zcr_remote_shell_v1_events[] = {
61 { "activated", "?o?o", types + 15 }, 61 { "activated", "?o?o", types + 15 },
62 { "configuration_changed", "iiifiiiiu", types + 0 }, 62 { "configuration_changed", "iiifiiiiu", types + 0 },
63 }; 63 };
64 64
65 WL_EXPORT const struct wl_interface zcr_remote_shell_v1_interface = { 65 WL_EXPORT const struct wl_interface zcr_remote_shell_v1_interface = {
66 » "zcr_remote_shell_v1", 2, 66 » "zcr_remote_shell_v1", 3,
67 3, zcr_remote_shell_v1_requests, 67 3, zcr_remote_shell_v1_requests,
68 2, zcr_remote_shell_v1_events, 68 2, zcr_remote_shell_v1_events,
69 }; 69 };
70 70
71 static const struct wl_message zcr_remote_surface_v1_requests[] = { 71 static const struct wl_message zcr_remote_surface_v1_requests[] = {
72 { "destroy", "", types + 0 }, 72 { "destroy", "", types + 0 },
73 { "set_app_id", "s", types + 0 }, 73 { "set_app_id", "s", types + 0 },
74 { "set_window_geometry", "iiii", types + 0 }, 74 { "set_window_geometry", "iiii", types + 0 },
75 { "set_scale", "f", types + 0 }, 75 { "set_scale", "f", types + 0 },
76 { "set_rectangular_shadow", "iiii", types + 0 }, 76 { "set_rectangular_shadow", "iiii", types + 0 },
77 { "set_rectangular_shadow_background_opacity", "f", types + 0 }, 77 { "set_rectangular_shadow_background_opacity", "f", types + 0 },
78 { "set_title", "s", types + 0 }, 78 { "set_title", "s", types + 0 },
79 { "set_top_inset", "i", types + 0 }, 79 { "set_top_inset", "i", types + 0 },
80 { "activate", "u", types + 0 }, 80 { "activate", "u", types + 0 },
81 { "maximize", "", types + 0 }, 81 { "maximize", "", types + 0 },
82 { "minimize", "", types + 0 }, 82 { "minimize", "", types + 0 },
83 { "restore", "", types + 0 }, 83 { "restore", "", types + 0 },
84 { "fullscreen", "", types + 0 }, 84 { "fullscreen", "", types + 0 },
85 { "unfullscreen", "", types + 0 }, 85 { "unfullscreen", "", types + 0 },
86 { "pin", "i", types + 0 }, 86 { "pin", "i", types + 0 },
87 { "unpin", "", types + 0 }, 87 { "unpin", "", types + 0 },
88 { "set_system_modal", "", types + 0 }, 88 { "set_system_modal", "", types + 0 },
89 { "unset_system_modal", "", types + 0 }, 89 { "unset_system_modal", "", types + 0 },
90 » { "set_moving", "2", types + 0 }, 90 » { "set_rectangular_surface_shadow", "2iiii", types + 0 },
91 » { "unset_moving", "2", types + 0 }, 91 » { "ack_configure", "3u", types + 0 },
92 » { "set_moving", "3", types + 0 },
93 » { "unset_moving", "3", types + 0 },
92 }; 94 };
93 95
94 static const struct wl_message zcr_remote_surface_v1_events[] = { 96 static const struct wl_message zcr_remote_surface_v1_events[] = {
95 { "close", "", types + 0 }, 97 { "close", "", types + 0 },
96 { "state_type_changed", "u", types + 0 }, 98 { "state_type_changed", "u", types + 0 },
99 { "configure", "3iiu", types + 0 },
97 }; 100 };
98 101
99 WL_EXPORT const struct wl_interface zcr_remote_surface_v1_interface = { 102 WL_EXPORT const struct wl_interface zcr_remote_surface_v1_interface = {
100 » "zcr_remote_surface_v1", 2, 103 » "zcr_remote_surface_v1", 3,
101 » 20, zcr_remote_surface_v1_requests, 104 » 22, zcr_remote_surface_v1_requests,
102 » 2, zcr_remote_surface_v1_events, 105 » 3, zcr_remote_surface_v1_events,
103 }; 106 };
104 107
105 static const struct wl_message zcr_notification_surface_v1_requests[] = { 108 static const struct wl_message zcr_notification_surface_v1_requests[] = {
106 { "destroy", "", types + 0 }, 109 { "destroy", "", types + 0 },
107 }; 110 };
108 111
109 WL_EXPORT const struct wl_interface zcr_notification_surface_v1_interface = { 112 WL_EXPORT const struct wl_interface zcr_notification_surface_v1_interface = {
110 "zcr_notification_surface_v1", 1, 113 "zcr_notification_surface_v1", 1,
111 1, zcr_notification_surface_v1_requests, 114 1, zcr_notification_surface_v1_requests,
112 0, NULL, 115 0, NULL,
113 }; 116 };
114 117
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698