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

Unified Diff: services/ui/public/interfaces/window_tree.mojom

Issue 2352233002: mus drag and drop: Add API to let the client cancel the drag. (Closed)
Patch Set: A bunch of dvlogs 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
« no previous file with comments | « services/ui/public/cpp/window_tree_client.cc ('k') | services/ui/ws/event_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/interfaces/window_tree.mojom
diff --git a/services/ui/public/interfaces/window_tree.mojom b/services/ui/public/interfaces/window_tree.mojom
index fa2023e7a39ae2d3bdbee5629fed6e3cf725e44e..de0b9c7cb0690fa0348ba6a2ee0424604c15c77f 100644
--- a/services/ui/public/interfaces/window_tree.mojom
+++ b/services/ui/public/interfaces/window_tree.mojom
@@ -288,6 +288,10 @@ interface WindowTree {
int32 drag_pointer,
map<string, array<uint8>> drag_data,
uint32 drag_operation);
+
+ // Called by the client to cancel any in progress drag drop operation. This
+ // will result in a change completed for the underlying change.
+ CancelDragDrop(uint32 window_id);
};
// Changes to windows are not sent to the connection that originated the
« no previous file with comments | « services/ui/public/cpp/window_tree_client.cc ('k') | services/ui/ws/event_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698