| Index: components/web_contents_delegate_android/web_contents_delegate_android.cc
|
| diff --git a/components/web_contents_delegate_android/web_contents_delegate_android.cc b/components/web_contents_delegate_android/web_contents_delegate_android.cc
|
| index 1e09f2f0b431aa86ecf1e4dc266d207887e30c4d..df0acd52c3abd232d959bb22725c95c701ff1df5 100644
|
| --- a/components/web_contents_delegate_android/web_contents_delegate_android.cc
|
| +++ b/components/web_contents_delegate_android/web_contents_delegate_android.cc
|
| @@ -300,6 +300,16 @@ bool WebContentsDelegateAndroid::IsFullscreenForTabOrPending(
|
| env, obj.obj());
|
| }
|
|
|
| +void WebContentsDelegateAndroid::DidProgrammaticallyScroll(
|
| + WebContents* web_contents, const gfx::Point& scroll_point) {
|
| + JNIEnv* env = AttachCurrentThread();
|
| + ScopedJavaLocalRef<jobject> obj = GetJavaDelegate(env);
|
| + if (obj.is_null())
|
| + return;
|
| + Java_WebContentsDelegateAndroid_didProgrammaticallyScroll(
|
| + env, obj.obj(), scroll_point.x(), scroll_point.y());
|
| +}
|
| +
|
| // ----------------------------------------------------------------------------
|
| // Native JNI methods
|
| // ----------------------------------------------------------------------------
|
|
|