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

Unified Diff: third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h

Issue 2295323003: third_party: Update remote shell protocol to version 2 (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h
diff --git a/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h b/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h
index 67075749d39a18bf125e0ec382f3f4ee4107b40a..d22d969c74df250f636f2dfeb595b85ee82a6865 100644
--- a/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h
+++ b/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h
@@ -599,6 +599,28 @@ struct zwp_remote_surface_v1_interface {
void (*pin_with_trusted_flag)(struct wl_client *client,
struct wl_resource *resource,
int32_t trusted);
+ /**
+ * start client-driven drag
+ *
+ * Notifies the compositor when a client-driven drag of the
+ * surface starts. The compositor may assume that subsequent
+ * set_window_geometry requests are position updates until it
+ * receives a "drop" request.
+ * @since 12
+ */
+ void (*drag)(struct wl_client *client,
+ struct wl_resource *resource);
+ /**
+ * stop client-driven drag
+ *
+ * Notifies the compositor when a client-driven drag of the
+ * surface stops, and whether it was reverted. The compositor may
+ * choose to stop the drag regardless of this request.
+ * @since 12
+ */
+ void (*drop)(struct wl_client *client,
+ struct wl_resource *resource,
+ uint32_t revert);
};
#define ZWP_REMOTE_SURFACE_V1_SET_FULLSCREEN 0

Powered by Google App Engine
This is Rietveld 408576698