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

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

Issue 346853005: Update infobar assets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: don't break downstream infobar users Created 6 years, 6 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/ConfirmInfoBarDelegate.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/infobar/ConfirmInfoBarDelegate.java b/chrome/android/java/src/org/chromium/chrome/browser/infobar/ConfirmInfoBarDelegate.java
index b43830e770078e203f5bff71245b62a2e0661276..d99fb15aa4cb06f40713a95cbaee422b552dad72 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/infobar/ConfirmInfoBarDelegate.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/infobar/ConfirmInfoBarDelegate.java
@@ -36,11 +36,8 @@ public class ConfirmInfoBarDelegate {
String linkText, String buttonOk, String buttonCancel) {
int drawableId = ResourceId.mapToDrawableId(enumeratedIconId);
- // Apparently, yellow was the popular choice at the time these InfoBars were implemented
- // because they stuck out more (hence the BACKGROUND_TYPE_WARNING) default.
- ConfirmInfoBar infoBar = new ConfirmInfoBar(nativeInfoBar, null,
- InfoBar.BACKGROUND_TYPE_WARNING, drawableId, message, linkText, buttonOk,
- buttonCancel);
+ ConfirmInfoBar infoBar = new ConfirmInfoBar(nativeInfoBar, null, drawableId, message,
+ linkText, buttonOk, buttonCancel);
return infoBar;
}
}

Powered by Google App Engine
This is Rietveld 408576698