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

Unified Diff: content/browser/android/content_view_core_impl.h

Issue 1251323002: Plumb smooth scrolling in Chromium compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months 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/browser/android/content_view_core_impl.h
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index 0ac6d75e92cf8146229ea94d067d01240e4fa2da..3559516690f1a2abdff539f50ed17e036a819f8d 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -145,6 +145,14 @@ class ContentViewCoreImpl : public ContentViewCore,
jfloat vy,
jboolean target_viewport);
void FlingCancel(JNIEnv* env, jobject obj, jlong time_ms);
+ void SmoothScrollStart(JNIEnv* env,
+ jobject obj,
+ jlong time_ms,
+ float start_x,
+ float start_y,
+ float dx,
+ float dy,
+ jlong duration_ms);
void SingleTap(JNIEnv* env, jobject obj, jlong time_ms,
jfloat x, jfloat y);
void DoubleTap(JNIEnv* env, jobject obj, jlong time_ms,

Powered by Google App Engine
This is Rietveld 408576698