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

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: Migrate to "zcr" interfaces 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 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 df69f7e08096fb2887844a4c83e2bb27d49038f1..22267458b7c6b0ebb4126b7d71bfe0e25ea15266 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
@@ -614,6 +614,27 @@ struct zcr_remote_surface_v1_interface {
*/
void (*unset_system_modal)(struct wl_client *client,
struct wl_resource *resource);
+ /**
+ * interactive move started
+ *
+ * Notifies the compositor when an interactive, user-driven move
+ * of the surface starts. The compositor may assume that subsequent
+ * set_window_geometry requests are position updates until it
+ * receives a unset_moving request.
+ * @since 2
+ */
+ void (*set_moving)(struct wl_client *client,
+ struct wl_resource *resource);
+ /**
+ * interactive move stopped
+ *
+ * Notifies the compositor when an interactive, user-driven move
+ * of the surface stops. The compositor may choose to stop the move
+ * regardless of this request.
+ * @since 2
+ */
+ void (*unset_moving)(struct wl_client *client,
+ struct wl_resource *resource);
};
#define ZCR_REMOTE_SURFACE_V1_CLOSE 0

Powered by Google App Engine
This is Rietveld 408576698