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

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

Issue 2349973010: mus drag and drop: return the completed effect to the caller. (Closed)
Patch Set: Rename some effect_taken to action_taken for consistency. 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/drag_controller.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 6d4782528b725a5ea7beb1088809b7f37f3846d0..fa2023e7a39ae2d3bdbee5629fed6e3cf725e44e 100644
--- a/services/ui/public/interfaces/window_tree.mojom
+++ b/services/ui/public/interfaces/window_tree.mojom
@@ -450,10 +450,14 @@ interface WindowTreeClient {
OnCompleteDrop(uint32 window,
uint32 key_state,
gfx.mojom.Point position,
- uint32 effect_bitmask) => (uint32 effect_taken);
+ uint32 effect_bitmask) => (uint32 action_taken);
- // Called after OnDragDrop completes for every connection which received an
- // OnDragDropStart() message. This signals that a client can forget the
+ // Called on the client that requested PerformDragDrop() to return which drag
+ // action was completed. This is called instead of OnChangeCompleted().
+ OnPerformDragDropCompleted(uint32 window, bool success, uint32 action_taken);
+
+ // Called after OnCompleteDrop completes for every connection which received
+ // an OnDragDropStart() message. This signals that a client can forget the
// |drag_data| passed in via the first message.
OnDragDropDone();
« no previous file with comments | « services/ui/public/cpp/window_tree_client.cc ('k') | services/ui/ws/drag_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698