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

Unified Diff: services/ui/ws/drag_controller.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/public/interfaces/window_tree.mojom ('k') | services/ui/ws/drag_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/drag_controller.h
diff --git a/services/ui/ws/drag_controller.h b/services/ui/ws/drag_controller.h
index 1cd7d3ad4da13d7a207b61551b1db6521e1be74f..3b781a44a2ebb43d2732ace7123f3f62b912b5e7 100644
--- a/services/ui/ws/drag_controller.h
+++ b/services/ui/ws/drag_controller.h
@@ -52,7 +52,7 @@ class DragController : public ServerWindowObserver {
// Notifies all windows we messaged that the drag is finished, and then tell
// |source| the result.
- void MessageDragCompleted(bool success);
+ void MessageDragCompleted(bool success, uint32_t action_taken);
// Returns the number of events on |window|. A value of 1 means that there's
// a single event outstanding that we're waiting for a response from the
@@ -77,7 +77,7 @@ class DragController : public ServerWindowObserver {
// Callback methods.
void OnDragStatusCompleted(const WindowId& id, uint32_t bitmask);
- void OnDragDropCompleted(const WindowId& id, uint32_t bitmask);
+ void OnDragDropCompleted(const WindowId& id, uint32_t action);
// ServerWindowObserver:
void OnWindowDestroying(ServerWindow* window) override;
« no previous file with comments | « services/ui/public/interfaces/window_tree.mojom ('k') | services/ui/ws/drag_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698