Revert "Change velocity tracker strategy to INT1"
authorTomasz Czekala <t.czekala@samsung.com>
Thu, 24 Dec 2015 11:17:12 +0000 (12:17 +0100)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 07:55:23 +0000 (07:55 +0000)
This reverts commit 603fa30d109aa0a36dcf8bfb334e44c69f545dc8.

Reviewed by: a1.gomes, djmix.kim, g.czajkowski, prashant.n

Change-Id: If90df856273a089466b0ff16329e512734c40361
Signed-off-by: Tomasz Czekala <t.czekala@samsung.com>
tizen_src/chromium_impl/ui/events/gesture_detection/gesture_configuration_efl.cc

index 0be758a..e922305 100644 (file)
@@ -6,7 +6,6 @@
 
 #include "base/command_line.h"
 #include "base/memory/singleton.h"
-#include "build/tizen_version.h"
 #include "ui/events/event_switches.h"
 
 namespace ui {
@@ -24,15 +23,6 @@ class GestureConfigurationEfl : public GestureConfiguration {
  private:
   GestureConfigurationEfl() : GestureConfiguration() {
     set_gesture_begin_end_types_enabled(true);
-#if TIZEN_VERSION_EQ(3,0,0)
-    // TODO(t.czekala): workaround on tizen v3.0 platform issue.
-    // Tizen 3.0 has delays in reporting touch events or in reading
-    // current time what causes the default LSQ2 strategy to generate
-    // sometimes invalid velocity. INT1 seems to work, but in following
-    // releases of the Tizen platform this should be checked and if it
-    // works, this change should be removed
-    set_velocity_tracker_strategy(VelocityTracker::Strategy::INT1);
-#endif
   }
 
   friend struct base::DefaultSingletonTraits<GestureConfigurationEfl>;