| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_GFX_ANDROID_VIEW_CONFIGURATION_H_ | 5 #ifndef UI_GFX_ANDROID_VIEW_CONFIGURATION_H_ |
| 6 #define UI_GFX_ANDROID_VIEW_CONFIGURATION_H_ | 6 #define UI_GFX_ANDROID_VIEW_CONFIGURATION_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 | 9 |
| 10 #include "ui/gfx/gfx_export.h" | 10 #include "ui/gfx/gfx_export.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 static float GetScrollFriction(); | 23 static float GetScrollFriction(); |
| 24 | 24 |
| 25 static int GetMaximumFlingVelocityInPixelsPerSecond(); | 25 static int GetMaximumFlingVelocityInPixelsPerSecond(); |
| 26 static int GetMinimumFlingVelocityInPixelsPerSecond(); | 26 static int GetMinimumFlingVelocityInPixelsPerSecond(); |
| 27 | 27 |
| 28 static int GetTouchSlopInPixels(); | 28 static int GetTouchSlopInPixels(); |
| 29 static int GetDoubleTapSlopInPixels(); | 29 static int GetDoubleTapSlopInPixels(); |
| 30 | 30 |
| 31 static int GetMinScalingSpanInPixels(); | 31 static int GetMinScalingSpanInPixels(); |
| 32 static int GetMinScalingTouchMajorInPixels(); | 32 static int GetMinScalingTouchMajorInPixels(); |
| 33 static bool ShouldUseTouchMajorInScalingSpan(); | |
| 34 | 33 |
| 35 // Registers methods with JNI and returns true if succeeded. | 34 // Registers methods with JNI and returns true if succeeded. |
| 36 static bool RegisterViewConfiguration(JNIEnv* env); | 35 static bool RegisterViewConfiguration(JNIEnv* env); |
| 37 }; | 36 }; |
| 38 | 37 |
| 39 } // namespace gfx | 38 } // namespace gfx |
| 40 | 39 |
| 41 #endif // UI_GFX_ANDROID_VIEW_CONFIGURATION_H_ | 40 #endif // UI_GFX_ANDROID_VIEW_CONFIGURATION_H_ |
| OLD | NEW |