Chromium Code Reviews| 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| |