| Index: content/browser/web_contents/web_contents_android.cc
|
| diff --git a/content/browser/web_contents/web_contents_android.cc b/content/browser/web_contents/web_contents_android.cc
|
| index 9be39aeb0fdd6b73a22c14f772554df23fcdc7cb..7bb9c18f2b69eabcc5c42ed6bbd09269a88894bb 100644
|
| --- a/content/browser/web_contents/web_contents_android.cc
|
| +++ b/content/browser/web_contents/web_contents_android.cc
|
| @@ -23,6 +23,7 @@
|
| #include "content/browser/media/android/media_web_contents_observer_android.h"
|
| #include "content/browser/renderer_host/render_view_host_impl.h"
|
| #include "content/browser/web_contents/web_contents_impl.h"
|
| +#include "content/browser/web_contents/web_contents_view_android.h"
|
| #include "content/common/devtools_messages.h"
|
| #include "content/common/frame_messages.h"
|
| #include "content/common/input_messages.h"
|
| @@ -616,6 +617,15 @@ ScopedJavaLocalRef<jstring> WebContentsAndroid::GetEncoding(
|
| web_contents_->GetEncoding());
|
| }
|
|
|
| +void WebContentsAndroid::SetOverscrollRefreshHandler(
|
| + JNIEnv* env,
|
| + const base::android::JavaParamRef<jobject>& obj,
|
| + const base::android::JavaParamRef<jobject>& overscroll_refresh_handler) {
|
| + WebContentsViewAndroid* view =
|
| + static_cast<WebContentsViewAndroid*>(web_contents_->GetView());
|
| + view->SetOverscrollRefreshHandler(overscroll_refresh_handler);
|
| +}
|
| +
|
| void WebContentsAndroid::GetContentBitmap(
|
| JNIEnv* env,
|
| const JavaParamRef<jobject>& obj,
|
|
|