Index: ios/chrome/browser/ui/settings/cells/import_data_multiline_detail_cell.h |
diff --git a/ios/chrome/browser/ui/settings/cells/import_data_multiline_detail_cell.h b/ios/chrome/browser/ui/settings/cells/import_data_multiline_detail_cell.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..78c354b69720465c15009b86217e96c5d2596a4a |
--- /dev/null |
+++ b/ios/chrome/browser/ui/settings/cells/import_data_multiline_detail_cell.h |
@@ -0,0 +1,25 @@ |
+// 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. |
+ |
+#ifndef IOS_CHROME_BROWSER_UI_SETTINGS_CELLS_IMPORT_DATA_MULTILINE_DETAIL_CELL_H_ |
+#define IOS_CHROME_BROWSER_UI_SETTINGS_CELLS_IMPORT_DATA_MULTILINE_DETAIL_CELL_H_ |
+ |
+#import <UIKit/UIKit.h> |
+ |
+#import "ios/third_party/material_components_ios/src/components/CollectionCells/src/MaterialCollectionCells.h" |
+ |
+// ImportDataMultilineDetailCell implements an MDCCollectionViewCell |
+// subclass containing two text labels: a "main" label and a "detail" label. |
+// The two labels are laid out on top of each other. The detail text can span |
+// multiple lines. |
+// This is to be used with a CollectionViewDetailItem. |
+@interface ImportDataMultilineDetailCell : MDCCollectionViewCell |
+ |
+// UILabels corresponding to |text| and |detailText| from the item. |
+@property(nonatomic, readonly, strong) UILabel* textLabel; |
+@property(nonatomic, readonly, strong) UILabel* detailTextLabel; |
+ |
+@end |
+ |
+#endif // IOS_CHROME_BROWSER_UI_SETTINGS_CELLS_IMPORT_DATA_MULTILINE_DETAIL_CELL_H_ |