| Index: ui/android/view_android.cc
|
| diff --git a/ui/android/view_android.cc b/ui/android/view_android.cc
|
| index fddff015356737cfc882f6f2db8e7af9a8dba758..15e51a0042ca48b6eb5c29d0bbbc6cafdb9541a3 100644
|
| --- a/ui/android/view_android.cc
|
| +++ b/ui/android/view_android.cc
|
| @@ -271,6 +271,14 @@ void ViewAndroid::OnBottomControlsChanged(float bottom_controls_offset,
|
| env, delegate, bottom_controls_offset, bottom_content_offset);
|
| }
|
|
|
| +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(
|
|
|