+class GestureRecognizerWithSwitchTest : public GestureRecognizerTest {
+ public:
+ GestureRecognizerWithSwitchTest() {}
+
+ void SetUp() override {
+ GestureRecognizerTest::SetUp();
+ CommandLine::ForCurrentProcess()->AppendSwitch(
+ switches::kCompensateForUnstablePinchZoom);
+ ui::GestureConfiguration::GetInstance()->set_min_pinch_update_span_delta(5);
+ }
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(GestureRecognizerWithSwitchTest);
+};
+