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

Unified Diff: ui/app_list/apps_grid_view.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: rebasefinal 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/app_list/apps_grid_view.h
diff --git a/ui/app_list/apps_grid_view.h b/ui/app_list/apps_grid_view.h
index 852ac923dc2e0dfe4d942b7d81feb0849336dbf3..d5b8664732e0b0205894eaedd53fac38d8cfeb0f 100644
--- a/ui/app_list/apps_grid_view.h
+++ b/ui/app_list/apps_grid_view.h
@@ -180,7 +180,7 @@ class APP_LIST_EXPORT AppsGridView : public views::View,
views::View* selected_view_;
views::View* drag_view_;
- gfx::Point drag_offset_;
+ gfx::Vector2d drag_offset_;
Pointer drag_pointer_;
Index drop_target_;

Powered by Google App Engine
This is Rietveld 408576698