| Index: ui/android/view_android.cc
|
| diff --git a/ui/android/view_android.cc b/ui/android/view_android.cc
|
| index 672ae01b8644db47f86de0da19e2b599bbb7e1cc..5635577cd25528f875def14e5445d1a49a46ff0f 100644
|
| --- a/ui/android/view_android.cc
|
| +++ b/ui/android/view_android.cc
|
| @@ -283,6 +283,14 @@ void ViewAndroid::StartContentIntent(const GURL& content_url,
|
| is_main_frame);
|
| }
|
|
|
| +int ViewAndroid::GetSystemWindowInsetBottom() {
|
| + ScopedJavaLocalRef<jobject> delegate(GetViewAndroidDelegate());
|
| + if (delegate.is_null())
|
| + return 0;
|
| + JNIEnv* env = base::android::AttachCurrentThread();
|
| + return Java_ViewAndroidDelegate_getSystemWindowInsetBottom(env, delegate);
|
| +}
|
| +
|
| bool ViewAndroid::OnTouchEvent(const MotionEventAndroid& event,
|
| bool for_touch_handle) {
|
| return HitTest(
|
|
|