Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Unified Diff: content/common/android/view_configuration.h

Issue 95153002: Make touch-based synthetic gesture take touch slop into account. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor refactoring of pinch gesture. Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/android/view_configuration.h
diff --git a/content/common/android/view_configuration.h b/content/common/android/view_configuration.h
index 4ac664fa26c2be0c4c0e44886a97a4048d561135..dc4d10e8327668eaf2ae40e436b1c4f9d42db807 100644
--- a/content/common/android/view_configuration.h
+++ b/content/common/android/view_configuration.h
@@ -22,6 +22,9 @@ class ViewConfiguration {
static int GetMaximumFlingVelocityInPixelsPerSecond();
static int GetMinimumFlingVelocityInPixelsPerSecond();
+ static int GetTouchSlopInDips();
+ static int GetTouchSlopInPixels();
+
// Registers methods with JNI and returns true if succeeded.
static bool RegisterViewConfiguration(JNIEnv* env);
};

Powered by Google App Engine
This is Rietveld 408576698