summaryrefslogtreecommitdiffstats
path: root/components/web_contents_delegate_android
diff options
context:
space:
mode:
Diffstat (limited to 'components/web_contents_delegate_android')
-rw-r--r--components/web_contents_delegate_android/web_contents_delegate_android.cc6
-rw-r--r--components/web_contents_delegate_android/web_contents_delegate_android.h1
2 files changed, 7 insertions, 0 deletions
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 a95a269..34fc617 100644
--- a/components/web_contents_delegate_android/web_contents_delegate_android.cc
+++ b/components/web_contents_delegate_android/web_contents_delegate_android.cc
@@ -428,6 +428,12 @@ void WebContentsDelegateAndroid::MoveValidationMessage(
rwhv->GetRenderWidgetHost(), anchor_in_root_view);
}
}
+
+bool WebContentsDelegateAndroid::RequestAppBanner(
+ content::WebContents* web_contents) {
+ return false;
+}
+
// ----------------------------------------------------------------------------
// Native JNI methods
// ----------------------------------------------------------------------------
diff --git a/components/web_contents_delegate_android/web_contents_delegate_android.h b/components/web_contents_delegate_android/web_contents_delegate_android.h
index 1105673..f2ed5d9 100644
--- a/components/web_contents_delegate_android/web_contents_delegate_android.h
+++ b/components/web_contents_delegate_android/web_contents_delegate_android.h
@@ -112,6 +112,7 @@ class WebContentsDelegateAndroid : public content::WebContentsDelegate {
void HideValidationMessage(content::WebContents* web_contents) override;
void MoveValidationMessage(content::WebContents* web_contents,
const gfx::Rect& anchor_in_root_view) override;
+ bool RequestAppBanner(content::WebContents* web_contents) override;
protected:
base::android::ScopedJavaLocalRef<jobject> GetJavaDelegate(JNIEnv* env) const;