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

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

Issue 2585233003: Upstream Chrome on iOS source code [2/11]. (Closed)
Patch Set: Created 4 years 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/order_summary_line_item.mm
diff --git a/ios/chrome/browser/payments/cells/order_summary_line_item.mm b/ios/chrome/browser/payments/cells/order_summary_line_item.mm
new file mode 100644
index 0000000000000000000000000000000000000000..5bfadd0de0ca09d228a1325b4f5bfc66ccbe1d18
--- /dev/null
+++ b/ios/chrome/browser/payments/cells/order_summary_line_item.mm
@@ -0,0 +1,26 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#import "ios/chrome/browser/payments/cells/order_summary_line_item.h"
+
+#import "ios/third_party/material_components_ios/src/components/Palettes/src/MaterialPalettes.h"
+#import "ios/third_party/material_roboto_font_loader_ios/src/src/MaterialRobotoFontLoader.h"
+
+@implementation OrderSummaryLineItem
+
+#pragma mark CollectionViewItem
+
+- (void)configureCell:(CollectionViewDetailCell*)cell {
+ [super configureCell:cell];
+
+ cell.textLabel.font =
+ [[MDFRobotoFontLoader sharedInstance] regularFontOfSize:14];
+ cell.textLabel.textColor = [[MDCPalette greyPalette] tint900];
+
+ cell.detailTextLabel.font =
+ [[MDFRobotoFontLoader sharedInstance] regularFontOfSize:14];
+ cell.detailTextLabel.textColor = [[MDCPalette greyPalette] tint900];
+}
+
+@end

Powered by Google App Engine
This is Rietveld 408576698