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

Unified Diff: ash/wm/window_resizer.h

Issue 10835047: Allow the cursor to warp even when a window is dragged (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: do not move modal windows to another display Created 8 years, 5 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: ash/wm/window_resizer.h
diff --git a/ash/wm/window_resizer.h b/ash/wm/window_resizer.h
index 80ae948ee35e18a5950fef7b9559375d1fea66af..e3d263e500b77d243b047e7e35f09218c28a5d9e 100644
--- a/ash/wm/window_resizer.h
+++ b/ash/wm/window_resizer.h
@@ -47,9 +47,8 @@ class ASH_EXPORT WindowResizer {
static int AlignToGridRoundDown(int location, int grid_size);
// Invoked to drag/move/resize the window. |location| is in the coordinates
- // of the window supplied to the constructor. |event_flags| is the event
- // flags from the event.
- virtual void Drag(const gfx::Point& location, int event_flags) = 0;
+ // of the screen. |event_flags| is the event flags from the event.
+ virtual void Drag(const gfx::Point& location_in_screen, int event_flags) = 0;
// Invoked to complete the drag.
virtual void CompleteDrag(int event_flags) = 0;

Powered by Google App Engine
This is Rietveld 408576698