Commit 36a0066c authored by tdresser@chromium.org's avatar tdresser@chromium.org

Reland "GestureRecognizerTest tests both Aura and Unified Gesture Detectors."

Reland "GestureRecognizerTest tests both Aura and Unified Gesture Detectors."

This is in preparation of landing the unified GR
(see https://codereview.chromium.org/251543003/).

There are some cases where behavior differs in minor ways.

This is sometimes dealt with by increasing the test's margin of error
(for instance, slop handling is slightly different, so we now
exceed the slop more thoroughly).

This is sometimes dealt with by ignoring the test if the test is
run with the unified GR.

BUG=332418

Review URL: https://codereview.chromium.org/252833005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266652 0039d316-1c4b-4281-b951-d872f2087c98
parent 73749e6a
...@@ -54,7 +54,7 @@ void AuraTestBase::SetUp() { ...@@ -54,7 +54,7 @@ void AuraTestBase::SetUp() {
ui::GestureConfiguration::set_min_rail_break_velocity(200); ui::GestureConfiguration::set_min_rail_break_velocity(200);
ui::GestureConfiguration::set_min_scroll_delta_squared(5 * 5); ui::GestureConfiguration::set_min_scroll_delta_squared(5 * 5);
ui::GestureConfiguration:: ui::GestureConfiguration::
set_min_touch_down_duration_in_seconds_for_click(0.01); set_min_touch_down_duration_in_seconds_for_click(0.0005);
ui::GestureConfiguration::set_points_buffered_for_velocity(10); ui::GestureConfiguration::set_points_buffered_for_velocity(10);
ui::GestureConfiguration::set_rail_break_proportion(15); ui::GestureConfiguration::set_rail_break_proportion(15);
ui::GestureConfiguration::set_rail_start_proportion(2); ui::GestureConfiguration::set_rail_start_proportion(2);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment