Index: views/view_aura.cc |
diff --git a/views/view_aura.cc b/views/view_aura.cc |
index f01e9b9b8cf9300782a4e74fbc15dc035f3fdea3..1cb7c6953f73e9113fd22599735dea96a679db72 100644 |
--- a/views/view_aura.cc |
+++ b/views/view_aura.cc |
@@ -11,11 +11,13 @@ gfx::NativeViewAccessible View::GetNativeViewAccessible() { |
} |
int View::GetHorizontalDragThreshold() { |
- return 0; |
+ // Use the default horizontal drag threshold on gtk for now. |
+ // TODO(jennyz): We may need to adjust this value for different platform. |
+ return 8; |
sky
2011/11/10 20:18:11
platform -> platforms
jennyz
2011/11/10 21:23:17
Done.
|
} |
int View::GetVerticalDragThreshold() { |
- return 0; |
+ return GetHorizontalDragThreshold(); |
} |
} // namespace views |