diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-17 01:21:56 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-17 01:21:56 +0000 |
commit | 81514c583f3c281ddbb72d13a021bfed58f7e3c7 (patch) | |
tree | beab789f1dbb7629c8bbf95acb27ba224bb35650 /chrome/views/view.h | |
parent | 0999c45abbe8d57f1c62c65f91459881a4af321a (diff) | |
download | chromium_src-81514c583f3c281ddbb72d13a021bfed58f7e3c7.zip chromium_src-81514c583f3c281ddbb72d13a021bfed58f7e3c7.tar.gz chromium_src-81514c583f3c281ddbb72d13a021bfed58f7e3c7.tar.bz2 |
Add #ifdefs to the views/ code and move windows specific code into their own files to get some files compiling.
Review URL: http://codereview.chromium.org/18136
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8250 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/view.h')
-rw-r--r-- | chrome/views/view.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/views/view.h b/chrome/views/view.h index f7d9906..52f2665 100644 --- a/chrome/views/view.h +++ b/chrome/views/view.h @@ -1132,6 +1132,12 @@ 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); @@ -1302,8 +1308,10 @@ class View : public AcceleratorTarget { // The menu controller. ContextMenuController* context_menu_controller_; +#if defined(OS_WIN) // The accessibility implementation for this View. scoped_ptr<AccessibleWrapper> accessibility_; +#endif DragController* drag_controller_; |