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

Unified Diff: ui/views/widget/desktop_root_window_host_win.cc

Issue 11269022: Add Vector2d classes that represent offsets, instead of using Point. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove SizeOfVector 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/desktop_root_window_host_win.cc
diff --git a/ui/views/widget/desktop_root_window_host_win.cc b/ui/views/widget/desktop_root_window_host_win.cc
index 3a319b54f57f967a01bcfd4938556b9d46c2e20b..c176ddd2fef16ccb68b1c5f7085e54c36591fd7d 100644
--- a/ui/views/widget/desktop_root_window_host_win.cc
+++ b/ui/views/widget/desktop_root_window_host_win.cc
@@ -252,7 +252,7 @@ void DesktopRootWindowHostWin::ClearNativeFocus() {
}
Widget::MoveLoopResult DesktopRootWindowHostWin::RunMoveLoop(
- const gfx::Point& drag_offset) {
+ const gfx::Vector2d& drag_offset) {
return message_handler_->RunMoveLoop(drag_offset) ?
Widget::MOVE_LOOP_SUCCESSFUL : Widget::MOVE_LOOP_CANCELED;
}

Powered by Google App Engine
This is Rietveld 408576698