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

Unified Diff: ios/chrome/browser/payments/payment_method_selection_view_controller.mm

Issue 2701923003: [Payment Request] Error message screen (Closed)
Patch Set: Addressed comments Created 3 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
Index: ios/chrome/browser/payments/payment_method_selection_view_controller.mm
diff --git a/ios/chrome/browser/payments/payment_method_selection_view_controller.mm b/ios/chrome/browser/payments/payment_method_selection_view_controller.mm
index 2ab51c94e663d0774bfd1011dec0c76b82f5df0a..dfdbbc1dcff763ca5b42bcefa16f8237138aa1d4 100644
--- a/ios/chrome/browser/payments/payment_method_selection_view_controller.mm
+++ b/ios/chrome/browser/payments/payment_method_selection_view_controller.mm
@@ -27,8 +27,8 @@
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
-NSString* const kPaymentMethodSelectionCollectionViewId =
- @"kPaymentMethodSelectionCollectionViewId";
+NSString* const kPaymentMethodSelectionCollectionViewID =
+ @"kPaymentMethodSelectionCollectionViewID";
namespace {
@@ -71,6 +71,7 @@ typedef NS_ENUM(NSInteger, ItemType) {
[self setTitle:l10n_util::GetNSString(
IDS_IOS_PAYMENT_REQUEST_METHOD_SELECTION_TITLE)];
+ // Set up leading (return) button.
UIBarButtonItem* returnButton =
[ChromeIcon templateBarButtonItemWithImage:[ChromeIcon backIcon]
target:nil
@@ -138,7 +139,7 @@ typedef NS_ENUM(NSInteger, ItemType) {
- (void)viewDidLoad {
[super viewDidLoad];
self.collectionView.accessibilityIdentifier =
- kPaymentMethodSelectionCollectionViewId;
+ kPaymentMethodSelectionCollectionViewID;
// Customize collection view settings.
self.styler.cellStyle = MDCCollectionViewCellStyleCard;

Powered by Google App Engine
This is Rietveld 408576698