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. |
oshima
2011/11/11 01:52:32
same as what gtk uses.
|
+ // TODO(jennyz): We may need to adjust this value for different platform. |
+ return 8; |
oshima
2011/11/11 01:52:32
This has to be adjusted for different display dens
|
} |
int View::GetVerticalDragThreshold() { |
- return 0; |
+ return GetHorizontalDragThreshold(); |
} |
} // namespace views |