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

Unified Diff: services/ui/ws/drag_source.h

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/ws/drag_controller_unittest.cc ('k') | services/ui/ws/test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/drag_source.h
diff --git a/services/ui/ws/drag_source.h b/services/ui/ws/drag_source.h
index 38f1acf77a0af5def80b2d703be95aea78927a3e..81428d04341938d34af24abfbb4bc8f33dfccf3a 100644
--- a/services/ui/ws/drag_source.h
+++ b/services/ui/ws/drag_source.h
@@ -20,8 +20,9 @@ class DragSource {
// Called when a drag operation is completed. |success| is true when a target
// window signaled the successful completion of the drag, false in all other
- // cases where a drag was aborted at any step in the process.
- virtual void OnDragCompleted(bool success) = 0;
+ // cases where a drag was aborted at any step in the process. |action_taken|
+ // is one of the kDropEffect constants in window_tree_constants.mojom.
+ virtual void OnDragCompleted(bool success, uint32_t action_taken) = 0;
virtual ServerWindow* GetWindowById(const WindowId& id) = 0;
« no previous file with comments | « services/ui/ws/drag_controller_unittest.cc ('k') | services/ui/ws/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698