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

Side by Side Diff: remoting/client/ios/app/host_collection_view_cell.h

Issue 2828113002: Provide HostView with data required for creating a new and session, and render for CRD iOS. (Closed)
Patch Set: fixing issue based on feedback. Created 3 years, 7 months 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 unified diff | Download patch
OLDNEW
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698