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

Unified Diff: ui/views/widget/widget.h

Issue 10828133: Desktop Aura: Allow tab drags out of window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 8 years, 4 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 | « ui/views/widget/native_widget_win.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « ui/views/widget/native_widget_win.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698