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

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: renaming 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..1c87bba3fe09c26fd84812f89fba601985e011ca 100644
--- a/services/ui/public/interfaces/window_tree.mojom
+++ b/services/ui/public/interfaces/window_tree.mojom
@@ -452,8 +452,12 @@ interface WindowTreeClient {
gfx.mojom.Point position,
uint32 effect_bitmask) => (uint32 effect_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 effect_taken);
Tom Sepez 2016/09/20 23:08:40 Do you want an enum for effect_taken? That way mo
Tom Sepez 2016/09/20 23:16:52 NM. I see its a bit field? Might more than one of
Elliot Glaysher 2016/09/20 23:44:15 Here, it is a single value. OnDragEnter() and OnD
+
+ // 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