Chromium Code Reviews| Index: ui/aura/client/window_move_client.h |
| diff --git a/ui/aura/client/window_move_client.h b/ui/aura/client/window_move_client.h |
| index b6f32a0920b91456401d47ee2d027275b8494104..a5d3ca1e6298c99bc3b959c08bede45b81feb970 100644 |
| --- a/ui/aura/client/window_move_client.h |
| +++ b/ui/aura/client/window_move_client.h |
| @@ -7,6 +7,10 @@ |
| #include "ui/aura/aura_export.h" |
| +namespace gfx { |
| +class Point; |
| +} |
| + |
| namespace aura { |
| class Window; |
| namespace client { |
| @@ -15,8 +19,9 @@ namespace client { |
| // window moving. |
| class AURA_EXPORT WindowMoveClient { |
| public: |
| - // Starts a nested message loop for moving the window. |
| - virtual void RunMoveLoop(Window* window) = 0; |
| + // Starts a nested message loop for moving the window. |drag_offset| is the |
| + // offset from the window origin to the cursor when the window was detached. |
|
sky
2012/08/16 20:11:20
'the window was detached' -> when the drag started
|
| + virtual void RunMoveLoop(Window* window, const gfx::Point& drag_offset) = 0; |
| // Ends a previously started move loop. |
| virtual void EndMoveLoop() = 0; |