Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / ui / events / gesture_detection / scale_gesture_detector.cc
index cf8de59..7afe91f 100644 (file)
@@ -10,6 +10,7 @@
 #include "base/float_util.h"
 #include "base/logging.h"
 #include "ui/events/gesture_detection/motion_event.h"
+#include "ui/events/gesture_detection/scale_gesture_listeners.h"
 
 using base::TimeDelta;
 using base::TimeTicks;
@@ -39,19 +40,6 @@ ScaleGestureDetector::Config::Config()
 
 ScaleGestureDetector::Config::~Config() {}
 
-bool ScaleGestureDetector::SimpleScaleGestureListener::OnScale(
-    const ScaleGestureDetector&, const MotionEvent&) {
-  return false;
-}
-
-bool ScaleGestureDetector::SimpleScaleGestureListener::OnScaleBegin(
-    const ScaleGestureDetector&, const MotionEvent&) {
-  return true;
-}
-
-void ScaleGestureDetector::SimpleScaleGestureListener::OnScaleEnd(
-    const ScaleGestureDetector&, const MotionEvent&) {}
-
 ScaleGestureDetector::ScaleGestureDetector(const Config& config,
                                            ScaleGestureListener* listener)
     : listener_(listener),