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

Unified Diff: ios/chrome/browser/payments/cells/page_info_item.mm

Issue 2588913002: EarlGrey tests for Payment Request (base CL) (Closed)
Patch Set: Moved the experimental flag back to the BVC Created 3 years, 11 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/cells/page_info_item.mm
diff --git a/ios/chrome/browser/payments/cells/page_info_item.mm b/ios/chrome/browser/payments/cells/page_info_item.mm
index 4257a13698ba3776c6010a2e9e00d6201f424db4..ffdde5bad15c27003b0926bab1891f3f437db5fb 100644
--- a/ios/chrome/browser/payments/cells/page_info_item.mm
+++ b/ios/chrome/browser/payments/cells/page_info_item.mm
@@ -11,6 +11,8 @@
#error "This file requires ARC support."
#endif
+NSString* const kPageInfoFaviconImageViewId = @"kPageInfoFaviconImageViewId";
+
namespace {
// Padding used on the top and bottom edges of the cell.
const CGFloat kVerticalPadding = 12;
@@ -65,6 +67,7 @@ const CGFloat kHorizontalPadding = 16;
// Favicon
_pageFaviconView = [[UIImageView alloc] initWithFrame:CGRectZero];
_pageFaviconView.translatesAutoresizingMaskIntoConstraints = NO;
+ _pageFaviconView.accessibilityIdentifier = kPageInfoFaviconImageViewId;
[self.contentView addSubview:_pageFaviconView];
// Page title

Powered by Google App Engine
This is Rietveld 408576698