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 debb7b2a20e56cee0c5340bbd85ecf6107a773fe..6b8e640dec30ac8acd8ee5321d0c5d3d12bbdeef 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) { |
+ JNIEnv* env = AttachCurrentThread(); |
+ ScopedJavaLocalRef<jobject> obj = GetJavaDelegate(env); |
+ if (obj.is_null()) |
+ return; |
+ Java_WebContentsDelegateAndroid_didProgrammaticallyScroll(env, obj.obj()); |
+} |
+ |
+ |
Ted C
2013/03/26 16:19:10
one too many blank lines
John Knottenbelt
2013/03/26 16:43:16
Done.
|
// ---------------------------------------------------------------------------- |
// Native JNI methods |
// ---------------------------------------------------------------------------- |