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

Unified Diff: ios/chrome/browser/ui/bookmarks/bookmark_signin_promo_cell.h

Issue 2844253003: Adding close button in SigninPromoView (Closed)
Patch Set: Changing dismiss to close, and moving the button to the cell Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/ui/bookmarks/bookmark_signin_promo_cell.h
diff --git a/ios/chrome/browser/ui/bookmarks/bookmark_signin_promo_cell.h b/ios/chrome/browser/ui/bookmarks/bookmark_signin_promo_cell.h
index 415273ab8381cf36f94a6742a1bb44885e498dbf..2cf1a0a8fae59c994605500ac86ac53f3d3e5d96 100644
--- a/ios/chrome/browser/ui/bookmarks/bookmark_signin_promo_cell.h
+++ b/ios/chrome/browser/ui/bookmarks/bookmark_signin_promo_cell.h
@@ -9,6 +9,8 @@
@class SigninPromoView;
+typedef void (^CloseButtonCallback)(void);
+
// Sign-in promo cell based on SigninPromoView. This cell invites the user to
// login without typing their password.
@interface BookmarkSigninPromoCell : UICollectionViewCell
@@ -17,6 +19,7 @@
+ (NSString*)reuseIdentifier;
@property(nonatomic, readonly) SigninPromoView* signinPromoView;
+@property(nonatomic, copy) CloseButtonCallback closeButtonAction;
@end

Powered by Google App Engine
This is Rietveld 408576698