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

Unified Diff: ios/public/provider/chrome/browser/ui/infobar_view_protocol.h

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 | « ios/chrome/browser/translate/translate_message_infobar_controller.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/public/provider/chrome/browser/ui/infobar_view_protocol.h
diff --git a/ios/public/provider/chrome/browser/ui/infobar_view_protocol.h b/ios/public/provider/chrome/browser/ui/infobar_view_protocol.h
index ed54be8b8025feaec6c023e47a4699261337e239..02aed8b1761c79f98b02fb2f9d04ec8c6d4e2b71 100644
--- a/ios/public/provider/chrome/browser/ui/infobar_view_protocol.h
+++ b/ios/public/provider/chrome/browser/ui/infobar_view_protocol.h
@@ -17,11 +17,9 @@ class InfoBarViewDelegate;
// showing/hiding animation.
@property(nonatomic, assign) CGFloat visibleHeight;
-// The designated initializer. Set |isWarning| to YES to have a warning infobar,
-// and to NO to have an informational infobar.
+// The designated initializer.
- (instancetype)initWithFrame:(CGRect)frame
- delegate:(InfoBarViewDelegate*)delegate
- isWarning:(BOOL)isWarning;
+ delegate:(InfoBarViewDelegate*)delegate;
// Stops propagating events to delegate.
- (void)resetDelegate;
« no previous file with comments | « ios/chrome/browser/translate/translate_message_infobar_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698