Fix the broken commit in r8250. The problem was that basictypes.h
wasn't getting included before a defined(OS_WIN) check.
Review URL: http://codereview.chromium.org/18414
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8308 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/views/view.h b/chrome/views/view.h
index f7d99064..52f2665 100644
--- a/chrome/views/view.h
+++ b/chrome/views/view.h
@@ -1132,6 +1132,12 @@
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 @@
// 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_;