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

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

Issue 11269022: Add Vector2d classes that represent offsets, instead of using Point. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: RenderText fixup Created 8 years, 2 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: ui/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index 48f1295e3e7d3d90f7a3a90104f7d04c2111d011..224d7b6c747a3e6c52f9bb2ed824c8f813b18465 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -331,7 +331,7 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
// 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);
+ MoveLoopResult RunMoveLoop(const gfx::Vector2d& drag_offset);
// Stops a previously started move loop. This is not immediate.
void EndMoveLoop();

Powered by Google App Engine
This is Rietveld 408576698