| 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 IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_SIGNIN_PROMO_CELL_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_SIGNIN_PROMO_CELL_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_SIGNIN_PROMO_CELL_H_ | 6 #define IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_SIGNIN_PROMO_CELL_H_ |
| 7 | 7 |
| 8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
| 9 | 9 |
| 10 @class SigninPromoView; | 10 @class SigninPromoView; |
| 11 | 11 |
| 12 typedef void (^CloseButtonCallback)(void); |
| 13 |
| 12 // Sign-in promo cell based on SigninPromoView. This cell invites the user to | 14 // Sign-in promo cell based on SigninPromoView. This cell invites the user to |
| 13 // login without typing their password. | 15 // login without typing their password. |
| 14 @interface BookmarkSigninPromoCell : UICollectionViewCell | 16 @interface BookmarkSigninPromoCell : UICollectionViewCell |
| 15 | 17 |
| 16 // Identifier for -[UICollectionView registerClass:forCellWithReuseIdentifier:]. | 18 // Identifier for -[UICollectionView registerClass:forCellWithReuseIdentifier:]. |
| 17 + (NSString*)reuseIdentifier; | 19 + (NSString*)reuseIdentifier; |
| 18 | 20 |
| 19 @property(nonatomic, readonly) SigninPromoView* signinPromoView; | 21 @property(nonatomic, readonly) SigninPromoView* signinPromoView; |
| 22 @property(nonatomic, copy) CloseButtonCallback closeButtonAction; |
| 20 | 23 |
| 21 @end | 24 @end |
| 22 | 25 |
| 23 #endif // IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_SIGNIN_PROMO_CELL_H_ | 26 #endif // IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_SIGNIN_PROMO_CELL_H_ |
| OLD | NEW |