| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef IOS_CHROME_BROWSER_PAYMENTS_CELLS_PAGE_INFO_ITEM_H_ | 5 #ifndef IOS_CHROME_BROWSER_PAYMENTS_CELLS_PAGE_INFO_ITEM_H_ |
| 6 #define IOS_CHROME_BROWSER_PAYMENTS_CELLS_PAGE_INFO_ITEM_H_ | 6 #define IOS_CHROME_BROWSER_PAYMENTS_CELLS_PAGE_INFO_ITEM_H_ |
| 7 | 7 |
| 8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
| 9 | 9 |
| 10 #import "ios/chrome/browser/ui/collection_view/cells/collection_view_item.h" | 10 #import "ios/chrome/browser/ui/collection_view/cells/collection_view_item.h" |
| 11 #import "ios/third_party/material_components_ios/src/components/CollectionCells/
src/MaterialCollectionCells.h" | 11 #import "ios/third_party/material_components_ios/src/components/CollectionCells/
src/MaterialCollectionCells.h" |
| 12 | 12 |
| 13 // The accessibility identifier for the favicon image view. | 13 // The accessibility identifier for the favicon image view. |
| 14 extern NSString* const kPageInfoFaviconImageViewId; | 14 extern NSString* const kPageInfoFaviconImageViewID; |
| 15 | 15 |
| 16 // PageInfoItem is the model class corresponding to PageInfoCell. | 16 // PageInfoItem is the model class corresponding to PageInfoCell. |
| 17 @interface PageInfoItem : CollectionViewItem | 17 @interface PageInfoItem : CollectionViewItem |
| 18 | 18 |
| 19 // The favicon image to display. | 19 // The favicon image to display. |
| 20 @property(nonatomic, strong) UIImage* pageFavicon; | 20 @property(nonatomic, strong) UIImage* pageFavicon; |
| 21 | 21 |
| 22 // The page title text to display. | 22 // The page title text to display. |
| 23 @property(nonatomic, copy) NSString* pageTitle; | 23 @property(nonatomic, copy) NSString* pageTitle; |
| 24 | 24 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 38 // UILabels containing the page's title and host. | 38 // UILabels containing the page's title and host. |
| 39 @property(nonatomic, readonly, strong) UILabel* pageTitleLabel; | 39 @property(nonatomic, readonly, strong) UILabel* pageTitleLabel; |
| 40 @property(nonatomic, readonly, strong) UILabel* pageHostLabel; | 40 @property(nonatomic, readonly, strong) UILabel* pageHostLabel; |
| 41 | 41 |
| 42 // UIImageView containing the page's favicon. | 42 // UIImageView containing the page's favicon. |
| 43 @property(nonatomic, readonly, strong) UIImageView* pageFaviconView; | 43 @property(nonatomic, readonly, strong) UIImageView* pageFaviconView; |
| 44 | 44 |
| 45 @end | 45 @end |
| 46 | 46 |
| 47 #endif // IOS_CHROME_BROWSER_PAYMENTS_CELLS_PAGE_INFO_ITEM_H_ | 47 #endif // IOS_CHROME_BROWSER_PAYMENTS_CELLS_PAGE_INFO_ITEM_H_ |
| OLD | NEW |