| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 REMOTING_CLIENT_IOS_APP_HOST_COLLECTION_VIEW_CELL_H_ | 5 #ifndef REMOTING_CLIENT_IOS_APP_HOST_COLLECTION_VIEW_CELL_H_ |
| 6 #define REMOTING_CLIENT_IOS_APP_HOST_COLLECTION_VIEW_CELL_H_ | 6 #define REMOTING_CLIENT_IOS_APP_HOST_COLLECTION_VIEW_CELL_H_ |
| 7 | 7 |
| 8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
| 9 | 9 |
| 10 #import "ios/third_party/material_components_ios/src/components/Collections/src/
MaterialCollections.h" | 10 #import "ios/third_party/material_components_ios/src/components/Collections/src/
MaterialCollections.h" |
| 11 | 11 |
| 12 @class HostInfo; |
| 13 |
| 12 @interface HostCollectionViewCell : MDCCollectionViewCell | 14 @interface HostCollectionViewCell : MDCCollectionViewCell |
| 13 | 15 |
| 14 // Update a cell with a title and status. Typically called for cell reuse. | 16 // Update a cell with host info. Typically called for cell reuse. |
| 15 - (void)populateContentWithTitle:(NSString*)title status:(NSString*)status; | 17 - (void)populateContentWithHostInfo:(HostInfo*)hostInfo; |
| 18 |
| 19 @property(readonly, nonatomic) HostInfo* hostInfo; |
| 16 | 20 |
| 17 @end | 21 @end |
| 18 | 22 |
| 19 #endif // REMOTING_CLIENT_IOS_APP_HOST_COLLECTION_VIEW_CELL_H_ | 23 #endif // REMOTING_CLIENT_IOS_APP_HOST_COLLECTION_VIEW_CELL_H_ |
| OLD | NEW |