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

Unified Diff: ios/chrome/browser/native_app_launcher/native_app_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/native_app_launcher/native_app_infobar_controller.mm
diff --git a/ios/chrome/browser/native_app_launcher/native_app_infobar_controller.mm b/ios/chrome/browser/native_app_launcher/native_app_infobar_controller.mm
index 0f0a823b7d1f62e680efa6a7d14cfeef172cb343..8d3a553c8e06f2994051f487dc1cba33079bc69c 100644
--- a/ios/chrome/browser/native_app_launcher/native_app_infobar_controller.mm
+++ b/ios/chrome/browser/native_app_launcher/native_app_infobar_controller.mm
@@ -9,7 +9,7 @@
#include "base/strings/sys_string_conversions.h"
#include "ios/chrome/browser/native_app_launcher/native_app_infobar_delegate.h"
#import "ios/chrome/browser/ui/infobars/infobar_view.h"
-#include "ios/chrome/browser/ui/infobars/infobar_view_protocol.h"
+#include "ios/chrome/browser/ui/infobars/infobar_view.h"
#include "ios/chrome/grit/ios_strings.h"
#import "ios/public/provider/chrome/browser/native_app_launcher/native_app_types.h"
#include "ui/base/l10n/l10n_util.h"
@@ -34,10 +34,9 @@
#pragma mark - InfoBarController
-- (UIView<InfoBarViewProtocol>*)viewForDelegate:
- (infobars::InfoBarDelegate*)delegate
- frame:(CGRect)frame {
- base::scoped_nsobject<UIView<InfoBarViewProtocol>> infoBarView;
+- (InfoBarView*)viewForDelegate:(infobars::InfoBarDelegate*)delegate
+ frame:(CGRect)frame {
+ base::scoped_nsobject<InfoBarView> infoBarView;
nativeAppInfoBarDelegate_ = static_cast<NativeAppInfoBarDelegate*>(delegate);
DCHECK(nativeAppInfoBarDelegate_);
infoBarView.reset(
« no previous file with comments | « ios/chrome/browser/infobars/infobar_controller.mm ('k') | ios/chrome/browser/passwords/update_password_infobar_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698