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

Unified Diff: third_party/wayland-protocols/protocol/stylus-protocol.c

Issue 2560493003: wayland-protocols: Add zcr_stylus_v2 protocol for touch based stylus (Closed)
Patch Set: apply v1 update to v2. Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: third_party/wayland-protocols/protocol/stylus-protocol.c
diff --git a/third_party/wayland-protocols/protocol/stylus-protocol.c b/third_party/wayland-protocols/protocol/stylus-protocol.c
deleted file mode 100644
index e84e4bbbd0a218aba2ad09e241cf1baa75e8e3da..0000000000000000000000000000000000000000
--- a/third_party/wayland-protocols/protocol/stylus-protocol.c
+++ /dev/null
@@ -1,66 +0,0 @@
-/* Generated by wayland-scanner 1.11.0 */
-
-/*
- * Copyright 2016 The Chromium Authors.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice (including the next
- * paragraph) shall be included in all copies or substantial portions of the
- * Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
- * DEALINGS IN THE SOFTWARE.
- */
-
-#include <stdlib.h>
-#include <stdint.h>
-#include "wayland-util.h"
-
-extern const struct wl_interface wl_pointer_interface;
-extern const struct wl_interface zcr_pointer_stylus_v1_interface;
-
-static const struct wl_interface *types[] = {
- NULL,
- NULL,
- NULL,
- &zcr_pointer_stylus_v1_interface,
- &wl_pointer_interface,
-};
-
-static const struct wl_message zcr_stylus_v1_requests[] = {
- { "get_pointer_stylus", "no", types + 3 },
-};
-
-WL_EXPORT const struct wl_interface zcr_stylus_v1_interface = {
- "zcr_stylus_v1", 2,
- 1, zcr_stylus_v1_requests,
- 0, NULL,
-};
-
-static const struct wl_message zcr_pointer_stylus_v1_requests[] = {
- { "destroy", "", types + 0 },
-};
-
-static const struct wl_message zcr_pointer_stylus_v1_events[] = {
- { "tool_change", "u", types + 0 },
- { "force", "uf", types + 0 },
- { "tilt", "uff", types + 0 },
-};
-
-WL_EXPORT const struct wl_interface zcr_pointer_stylus_v1_interface = {
- "zcr_pointer_stylus_v1", 1,
- 1, zcr_pointer_stylus_v1_requests,
- 3, zcr_pointer_stylus_v1_events,
-};
-

Powered by Google App Engine
This is Rietveld 408576698