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_IOS_APP_HOST_COLLECTION_VIEW_CELL_H_ |
6 #define REMOTING_CLIENT_IOS_APP_HOST_COLLECTION_VIEW_CELL_H_ | 6 #define REMOTING_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; | 12 @class HostInfo; |
13 | 13 |
14 @interface HostCollectionViewCell : MDCCollectionViewCell | 14 @interface HostCollectionViewCell : MDCCollectionViewCell |
15 | 15 |
16 // Update a cell with host info. Typically called for cell reuse. | 16 // Update a cell with host info. Typically called for cell reuse. |
17 - (void)populateContentWithHostInfo:(HostInfo*)hostInfo; | 17 - (void)populateContentWithHostInfo:(HostInfo*)hostInfo; |
18 | 18 |
19 @property(readonly, nonatomic) HostInfo* hostInfo; | 19 @property(readonly, nonatomic) HostInfo* hostInfo; |
20 | 20 |
21 @end | 21 @end |
22 | 22 |
23 #endif // REMOTING_CLIENT_IOS_APP_HOST_COLLECTION_VIEW_CELL_H_ | 23 #endif // REMOTING_IOS_APP_HOST_COLLECTION_VIEW_CELL_H_ |
OLD | NEW |