Index: views/view.h |
=================================================================== |
--- views/view.h (revision 17191) |
+++ views/view.h (working copy) |
@@ -1020,6 +1020,12 @@ |
// by us. |
bool InDrag(); |
+ // Returns how much the mouse needs to move in one direction to start a |
+ // drag. These methods cache in a platform-appropriate way. These values are |
+ // used by the public static method ExceededDragThreshold(). |
+ static int GetHorizontalDragThreshold(); |
+ static int GetVerticalDragThreshold(); |
+ |
// Whether this view is enabled. |
bool enabled_; |
@@ -1051,12 +1057,6 @@ |
int start_y; |
}; |
- // Returns how much the mouse needs to move in one direction to start a |
- // drag. These methods cache in a platform-appropriate way. These values are |
- // used by the public static method ExceededDragThreshold(). |
- static int GetHorizontalDragThreshold(); |
- static int GetVerticalDragThreshold(); |
- |
// RootView invokes these. These in turn invoke the appropriate OnMouseXXX |
// method. If a drag is detected, DoDrag is invoked. |
bool ProcessMousePressed(const MouseEvent& e, DragInfo* drop_info); |