Index: ui/views/view.h |
diff --git a/ui/views/view.h b/ui/views/view.h |
index 65b22479530415e0ddf585b0f5f8bf8492c9cce3..3f05eeb3520126005e4e9ead7b3c8aeb8a95d5cf 100644 |
--- a/ui/views/view.h |
+++ b/ui/views/view.h |
@@ -23,6 +23,7 @@ |
#include "ui/compositor/layer_owner.h" |
#include "ui/gfx/native_widget_types.h" |
#include "ui/gfx/rect.h" |
+#include "ui/gfx/vector2d.h" |
#include "ui/views/background.h" |
#include "ui/views/border.h" |
#include "ui/views/focus_border.h" |
@@ -859,7 +860,7 @@ class VIEWS_EXPORT View : public ui::LayerDelegate, |
// Returns true if the mouse was dragged enough to start a drag operation. |
// delta_x and y are the distance the mouse was dragged. |
- static bool ExceededDragThreshold(int delta_x, int delta_y); |
+ static bool ExceededDragThreshold(const gfx::Vector2d& delta); |
// Accessibility ------------------------------------------------------------- |