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

Unified Diff: android_webview/native/aw_contents.h

Issue 1251323002: Plumb smooth scrolling in Chromium compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 5 years, 3 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: android_webview/native/aw_contents.h
diff --git a/android_webview/native/aw_contents.h b/android_webview/native/aw_contents.h
index ed3c660aa68862ce09368a01cdbd7ef9af7f1a9d..f55634ba426d3aff2daa3f94bd8f9410900d5883 100644
--- a/android_webview/native/aw_contents.h
+++ b/android_webview/native/aw_contents.h
@@ -222,6 +222,11 @@ class AwContents : public FindHelper::Listener,
jlong ReleasePopupAwContents(JNIEnv* env, jobject obj);
void ScrollTo(JNIEnv* env, jobject obj, jint x, jint y);
+ void SmoothScroll(JNIEnv* env,
+ jobject obj,
+ jint target_x,
+ jint target_y,
+ jlong duration_ms);
void SetDipScale(JNIEnv* env, jobject obj, jfloat dip_scale);
void SetSaveFormData(bool enabled);

Powered by Google App Engine
This is Rietveld 408576698