Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(963)

Unified Diff: chrome/browser/ui/android/infobars/reader_mode_infobar.cc

Issue 2878543003: Hook up Reader Mode InfoBar (Closed)
Patch Set: rebase past junit conversion Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/android/infobars/reader_mode_infobar.cc
diff --git a/chrome/browser/ui/android/infobars/reader_mode_infobar.cc b/chrome/browser/ui/android/infobars/reader_mode_infobar.cc
index e424ebd655051022e0d4d8512365bec5db5b899d..67bf3f928333bfb91d4155d14a4ebdc38b71bb44 100644
--- a/chrome/browser/ui/android/infobars/reader_mode_infobar.cc
+++ b/chrome/browser/ui/android/infobars/reader_mode_infobar.cc
@@ -46,6 +46,10 @@ ScopedJavaLocalRef<jobject> ReaderModeInfoBar::CreateRenderInfoBar(
return Java_ReaderModeInfoBar_create(env);
}
+void ReaderModeInfoBar::Hide(JNIEnv* env, const JavaParamRef<jobject>& obj) {
+ InfoBarAndroid::Hide(true);
+}
+
void ReaderModeInfoBar::ProcessButton(int action) {}
void Create(JNIEnv* env,

Powered by Google App Engine
This is Rietveld 408576698