Index: content/public/android/java/src/org/chromium/content_public/browser/third_party/GestureDetector.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/third_party/GestureDetector.java b/content/public/android/java/src/org/chromium/content_public/browser/third_party/GestureDetector.java |
similarity index 99% |
rename from content/public/android/java/src/org/chromium/content/browser/third_party/GestureDetector.java |
rename to content/public/android/java/src/org/chromium/content_public/browser/third_party/GestureDetector.java |
index 3a52db4015a8f56f8b68f8c3cc3a5b6458158e83..7c4155b90e49ce24233c1642e7fc03065879c08b 100644 |
--- a/content/public/android/java/src/org/chromium/content/browser/third_party/GestureDetector.java |
+++ b/content/public/android/java/src/org/chromium/content_public/browser/third_party/GestureDetector.java |
@@ -19,7 +19,8 @@ |
// noted explicitly below. |
// New imports in Chromium for NDK compliance. |
-package org.chromium.content.browser.third_party; |
+package org.chromium.content_public.browser.third_party; |
+ |
import android.view.MotionEvent; |
import android.view.VelocityTracker; |
import android.view.ViewConfiguration; |
@@ -142,7 +143,7 @@ public class GestureDetector { |
* @return true if the event is consumed, else false |
*/ |
boolean onSingleTapConfirmed(MotionEvent e); |
- |
+ |
/** |
* Notified when a double-tap occurs. |
* |
@@ -275,11 +276,11 @@ public class GestureDetector { |
case SHOW_PRESS: |
mListener.onShowPress(mCurrentDownEvent); |
break; |
- |
+ |
case LONG_PRESS: |
dispatchLongPress(); |
break; |
- |
+ |
case TAP: |
// If the user's finger is still down, do not count it as a tap |
if (mDoubleTapListener != null) { |
@@ -299,9 +300,9 @@ public class GestureDetector { |
/** |
* Creates a GestureDetector with the supplied listener. |
- * This variant of the constructor should be used from a non-UI thread |
+ * This variant of the constructor should be used from a non-UI thread |
* (as it allows specifying the Handler). |
- * |
+ * |
* @param listener the listener invoked for all the callbacks, this must |
* not be null. |
* @param handler the handler to use |
@@ -321,10 +322,10 @@ public class GestureDetector { |
* Creates a GestureDetector with the supplied listener. |
* You may only use this constructor from a UI thread (this is the usual situation). |
* @see android.os.Handler#Handler() |
- * |
+ * |
* @param listener the listener invoked for all the callbacks, this must |
* not be null. |
- * |
+ * |
* @throws NullPointerException if {@code listener} is null. |
* |
* @deprecated Use {@link #GestureDetector(android.content.Context, |
@@ -358,7 +359,7 @@ public class GestureDetector { |
* @param context the application's context |
* @param listener the listener invoked for all the callbacks, this must |
* not be null. |
- * @param handler the handler to use |
+ * @param handler the handler to use |
* |
* @throws NullPointerException if {@code listener} is null. |
*/ |
@@ -374,7 +375,7 @@ public class GestureDetector { |
} |
init(context); |
} |
- |
+ |
/** |
* Creates a GestureDetector with the supplied listener. |
* You may only use this constructor from a UI thread (this is the usual situation). |
@@ -430,7 +431,7 @@ public class GestureDetector { |
/** |
* Sets the listener which will be called for double-tap and related |
* gestures. |
- * |
+ * |
* @param onDoubleTapListener the listener invoked for all the callbacks, or |
* null to stop listening for double-tap gestures. |
*/ |