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

Unified Diff: ios/chrome/browser/passwords/update_password_infobar_controller.mm

Issue 2592113002: Remove legacy InfoBarViewProtocol. (Closed)
Patch Set: Rebase. Created 3 years, 12 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: ios/chrome/browser/passwords/update_password_infobar_controller.mm
diff --git a/ios/chrome/browser/passwords/update_password_infobar_controller.mm b/ios/chrome/browser/passwords/update_password_infobar_controller.mm
index 5cca4825cfb63aecbaf79199e60624916c7bec6c..e48c6a52697e9558ac9644ec791843b9921fbff6 100644
--- a/ios/chrome/browser/passwords/update_password_infobar_controller.mm
+++ b/ios/chrome/browser/passwords/update_password_infobar_controller.mm
@@ -10,7 +10,7 @@
#include "ios/chrome/browser/infobars/confirm_infobar_controller+protected.h"
#include "ios/chrome/browser/passwords/ios_chrome_update_password_infobar_delegate.h"
#import "ios/chrome/browser/ui/elements/selector_coordinator.h"
-#import "ios/chrome/browser/ui/infobars/infobar_view_protocol.h"
+#import "ios/chrome/browser/ui/infobars/infobar_view.h"
namespace {
// Tag for the account link in the info bar message. Set to 10 to avoid conflict
@@ -39,14 +39,14 @@ NSUInteger kAccountTag = 10;
return self;
}
-- (UIView<InfoBarViewProtocol>*)
-viewForDelegate:(IOSChromeUpdatePasswordInfoBarDelegate*)delegate
- frame:(CGRect)frame {
+- (InfoBarView*)viewForDelegate:
+ (IOSChromeUpdatePasswordInfoBarDelegate*)delegate
+ frame:(CGRect)frame {
_delegate = delegate;
return [super viewForDelegate:delegate frame:frame];
}
-- (void)updateInfobarLabel:(UIView<InfoBarViewProtocol>*)view {
+- (void)updateInfobarLabel:(InfoBarView*)view {
[super updateInfobarLabel:view];
// Get the message text with current links marked.

Powered by Google App Engine
This is Rietveld 408576698