Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(622)

Unified Diff: ui/aura/test/aura_test_base.cc

Issue 11299276: Bound the maximum touchscreen fling velocity. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review nits Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/pref_names.cc ('k') | ui/base/gestures/gesture_configuration.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/aura_test_base.cc
diff --git a/ui/aura/test/aura_test_base.cc b/ui/aura/test/aura_test_base.cc
index 6e99dd50837295b52593cfafa0c7e2b24ffc6cb0..9d0c96c63ec5bf4637d7ad9e4b39dfb2e7c86a9c 100644
--- a/ui/aura/test/aura_test_base.cc
+++ b/ui/aura/test/aura_test_base.cc
@@ -54,6 +54,7 @@ void AuraTestBase::SetUp() {
2, 0.0452381f);
ui::GestureConfiguration::set_fling_acceleration_curve_coefficients(
3, 0.8f);
+ ui::GestureConfiguration::set_fling_velocity_cap(15000.0f);
helper_.reset(new AuraTestHelper(&message_loop_));
helper_->SetUp();
« no previous file with comments | « chrome/common/pref_names.cc ('k') | ui/base/gestures/gesture_configuration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698