From 253a39adbfb946eba237c7021288e511da8da0ca Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Fri, 29 May 2009 20:45:13 +0000 Subject: Gets button_dropdown compiling on linux. BUG=none TEST=none Review URL: http://codereview.chromium.org/118002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17229 0039d316-1c4b-4281-b951-d872f2087c98 --- views/view.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'views/view.h') diff --git a/views/view.h b/views/view.h index 8612248..760192f 100644 --- a/views/view.h +++ b/views/view.h @@ -1020,6 +1020,12 @@ class View : public AcceleratorTarget { // 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 @@ class View : public AcceleratorTarget { 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); -- cgit v1.1