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

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

Issue 2764963003: aura-mus: add a drag representation image. (Closed)
Patch Set: Patch cleanup. Created 3 years, 9 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
Index: services/ui/ws/drag_source.h
diff --git a/services/ui/ws/drag_source.h b/services/ui/ws/drag_source.h
index 81428d04341938d34af24abfbb4bc8f33dfccf3a..162ce22340f28559460c6f5ba9a794f076e3f894 100644
--- a/services/ui/ws/drag_source.h
+++ b/services/ui/ws/drag_source.h
@@ -18,6 +18,9 @@ class DragSource {
public:
virtual ~DragSource() {}
+ // Called during a drag operation when the mouse cursor moves.
+ virtual void OnDragContinued(const gfx::Point& location) = 0;
sky 2017/03/23 00:05:36 optional: OnDragMoved?
Elliot Glaysher 2017/03/23 19:58:44 Done.
+
// 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. |action_taken|

Powered by Google App Engine
This is Rietveld 408576698