| Index: android_webview/browser/aw_contents.cc
|
| diff --git a/android_webview/browser/aw_contents.cc b/android_webview/browser/aw_contents.cc
|
| index 7e2006610458b66fc9f4b4e89c9a817e3865ad70..d45e64bdc8fe92f0679fa1cbc806f46475812033 100644
|
| --- a/android_webview/browser/aw_contents.cc
|
| +++ b/android_webview/browser/aw_contents.cc
|
| @@ -1398,12 +1398,20 @@ void AwContents::DidDetachInterstitialPage() {
|
| browser_view_renderer_.SetActiveCompositorID(compositor_id);
|
| }
|
|
|
| -bool AwContents::CanShowBigInterstitial() {
|
| +bool AwContents::CanShowInterstitial() {
|
| JNIEnv* env = AttachCurrentThread();
|
| const ScopedJavaLocalRef<jobject> obj = java_ref_.get(env);
|
| if (obj.is_null())
|
| return false;
|
| - return Java_AwContents_canShowBigInterstitial(env, obj);
|
| + return Java_AwContents_canShowInterstitial(env, obj);
|
| +}
|
| +
|
| +int AwContents::GetErrorUiType() {
|
| + JNIEnv* env = AttachCurrentThread();
|
| + const ScopedJavaLocalRef<jobject> obj = java_ref_.get(env);
|
| + if (obj.is_null())
|
| + return false;
|
| + return Java_AwContents_getErrorUiType(env, obj);
|
| }
|
|
|
| void AwContents::CallProceedOnInterstitialForTesting(
|
|
|