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

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

Issue 1807463004: Re-land: third_party: Add missing scaler.xml file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move scaler.xml out of src/ and update to latest version Created 4 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 /* 1 /*
2 * Copyright © 2013-2014 Collabora, Ltd. 2 * Copyright © 2013-2014 Collabora, Ltd.
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"), 5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation 6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the 8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions: 9 * Software is furnished to do so, subject to the following conditions:
10 * 10 *
11 * The above copyright notice and this permission notice (including the next 11 * The above copyright notice and this permission notice (including the next
12 * paragraph) shall be included in all copies or substantial portions of the 12 * paragraph) shall be included in all copies or substantial portions of the
13 * Software. 13 * Software.
14 * 14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21 * DEALINGS IN THE SOFTWARE. 21 * DEALINGS IN THE SOFTWARE.
22 */ 22 */
23 23
24 #include <stdlib.h> 24 #include <stdlib.h>
25 #include <stdint.h> 25 #include <stdint.h>
26 #include "wayland-util.h" 26 #include "wayland-util.h"
27 27
28 extern const struct wl_interface wl_surface_interface;
28 extern const struct wl_interface wl_viewport_interface; 29 extern const struct wl_interface wl_viewport_interface;
29 extern const struct wl_interface wl_surface_interface;
30 30
31 static const struct wl_interface *types[] = { 31 static const struct wl_interface *types[] = {
32 NULL, 32 NULL,
33 NULL, 33 NULL,
34 NULL, 34 NULL,
35 NULL, 35 NULL,
36 NULL, 36 NULL,
37 NULL, 37 NULL,
38 &wl_viewport_interface, 38 &wl_viewport_interface,
39 &wl_surface_interface, 39 &wl_surface_interface,
(...skipping 16 matching lines...) Expand all
56 { "set_source", "2ffff", types + 0 }, 56 { "set_source", "2ffff", types + 0 },
57 { "set_destination", "2ii", types + 0 }, 57 { "set_destination", "2ii", types + 0 },
58 }; 58 };
59 59
60 WL_EXPORT const struct wl_interface wl_viewport_interface = { 60 WL_EXPORT const struct wl_interface wl_viewport_interface = {
61 "wl_viewport", 2, 61 "wl_viewport", 2,
62 4, wl_viewport_requests, 62 4, wl_viewport_requests,
63 0, NULL, 63 0, NULL,
64 }; 64 };
65 65
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698