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

Unified Diff: ios/chrome/browser/infobars/confirm_infobar_controller.mm

Issue 975663002: Remove the distinction between informational and warning infobar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | ios/chrome/browser/translate/after_translate_infobar_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/infobars/confirm_infobar_controller.mm
diff --git a/ios/chrome/browser/infobars/confirm_infobar_controller.mm b/ios/chrome/browser/infobars/confirm_infobar_controller.mm
index 4ead1c11a2eda558d91d2159bef66170cd9273eb..74e54a6316a6c84225e6f0ec6a80134e30ba83e9 100644
--- a/ios/chrome/browser/infobars/confirm_infobar_controller.mm
+++ b/ios/chrome/browser/infobars/confirm_infobar_controller.mm
@@ -54,9 +54,7 @@ ConfirmInfoBarDelegate::InfoBarButton UITagToButton(NSUInteger tag) {
DCHECK(!infoBarView_);
infoBarView_.reset([ios::GetChromeBrowserProvider()->CreateInfoBarView()
initWithFrame:frame
- delegate:delegate_
- isWarning:infoBarModel->GetInfoBarType() ==
- infobars::InfoBarDelegate::WARNING_TYPE]);
+ delegate:delegate_]);
// Model data.
NSString* modelMsg = nil;
« no previous file with comments | « no previous file | ios/chrome/browser/translate/after_translate_infobar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698