summaryrefslogtreecommitdiffstats
path: root/views/view.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-29 20:45:13 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-29 20:45:13 +0000
commit253a39adbfb946eba237c7021288e511da8da0ca (patch)
treef434b1548b1f1ede61c4e3f48a1ee66c0abc3703 /views/view.h
parentdb919fa6eeb44814c553256d440250155e0beaa4 (diff)
downloadchromium_src-253a39adbfb946eba237c7021288e511da8da0ca.zip
chromium_src-253a39adbfb946eba237c7021288e511da8da0ca.tar.gz
chromium_src-253a39adbfb946eba237c7021288e511da8da0ca.tar.bz2
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
Diffstat (limited to 'views/view.h')
-rw-r--r--views/view.h12
1 files changed, 6 insertions, 6 deletions
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);