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

Unified Diff: ash/shelf/shelf_view.h

Issue 338833008: Require the cursor to move a minimum distance after the mouse press before initiating a mouse drag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « no previous file | ash/shelf/shelf_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_view.h
diff --git a/ash/shelf/shelf_view.h b/ash/shelf/shelf_view.h
index c3fb39f923ed6b503281ddca7a44fb8ae89ed5ec..f68e959945704915d41b1e538bb7e45da0da0cfb 100644
--- a/ash/shelf/shelf_view.h
+++ b/ash/shelf/shelf_view.h
@@ -358,8 +358,8 @@ class ASH_EXPORT ShelfView : public views::View,
// |dragging_| is set only if the mouse is dragged far enough.
views::View* drag_view_;
- // X coordinate of the mouse down event in |drag_view_|s coordinates.
- int drag_offset_;
+ // Position of the mouse down event in |drag_view_|'s coordinates.
+ gfx::Point drag_origin_;
// Index |drag_view_| was initially at.
int start_drag_index_;
« no previous file with comments | « no previous file | ash/shelf/shelf_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698