Upstream version 9.37.195.0
[platform/framework/web/crosswalk.git] / src / ui / events / gesture_detection / gesture_provider.cc
index ca68e3c..0255ac7 100644 (file)
@@ -484,17 +484,12 @@ class GestureProvider::GestureListenerImpl
     return false;
   }
 
-  virtual bool OnLongPress(const MotionEvent& e) OVERRIDE {
+  virtual void OnLongPress(const MotionEvent& e) OVERRIDE {
     DCHECK(!IsDoubleTapInProgress());
     SetIgnoreSingleTap(true);
 
     GestureEventDetails long_press_details(ET_GESTURE_LONG_PRESS, 0, 0);
     provider_->Send(CreateGesture(long_press_details, e));
-
-    // Returning true puts the GestureDetector in "longpress" mode, disabling
-    // further scrolling.  This is undesirable, as it is quite common for a
-    // longpress gesture to fire on content that won't trigger a context menu.
-    return false;
   }
 
   void SetDoubleTapEnabled(bool enabled) {