Index: ui/views/widget/widget.h |
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h |
index 9e5918b52f2aef4f66d21460ae126939b05d67f5..ee6e6e6baaf3505765b2ca44184d6fc677e2db20 100644 |
--- a/ui/views/widget/widget.h |
+++ b/ui/views/widget/widget.h |
@@ -319,8 +319,10 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate, |
// Starts a nested message loop that moves the window. This can be used to |
// start a window move operation from a mouse moved event. This returns when |
- // the move completes. |
- MoveLoopResult RunMoveLoop(); |
+ // the move completes. |drag_offset| is the offset from the top left corner |
+ // of the window to the point where the cursor is dragging, and is used to |
+ // offset the bounds of the window from the cursor. |
+ MoveLoopResult RunMoveLoop(const gfx::Point& drag_offset); |
// Stops a previously started move loop. This is not immediate. |
void EndMoveLoop(); |