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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBar.java

Issue 2838833003: Introduces snackbar enum, & other snackbar classes on android for translate (Closed)
Patch Set: Created 3 years, 8 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/android/java/src/org/chromium/chrome/browser/infobar/InfoBar.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBar.java b/chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBar.java
index e27ff5bf3b2e07c0de8954ebd0bfcc3831f94118..bfc93bea5d66d23c5a30ec3e5b3f4634e817961e 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBar.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBar.java
@@ -144,7 +144,7 @@ public abstract class InfoBar implements InfoBarView {
* @return whether the infobar actually needed closing.
*/
@CalledByNative
- private boolean closeInfoBar() {
+ protected boolean closeInfoBar() {
gone 2017/04/26 17:19:51 I'm really wary of exposing this method. It allow
ramyasharma 2017/04/27 08:01:42 Thank Dan. But I dont need this anymore, I dont ha
if (!mIsDismissed) {
mIsDismissed = true;
if (!mContainer.hasBeenDestroyed()) {

Powered by Google App Engine
This is Rietveld 408576698