// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef IOS_CHROME_BROWSER_AUTHENTICATION_UI_BUNDLED_CELLS_TABLE_VIEW_SIGNIN_PROMO_ITEM_H_
#define IOS_CHROME_BROWSER_AUTHENTICATION_UI_BUNDLED_CELLS_TABLE_VIEW_SIGNIN_PROMO_ITEM_H_

#import <UIKit/UIKit.h>

#import "ios/chrome/browser/shared/ui/table_view/cells/table_view_item.h"

@class SigninPromoView;
@class SigninPromoViewConfigurator;
@protocol SigninPromoViewDelegate;

// TableViewItem for SignIn Promo Cell.
@interface TableViewSigninPromoItem : TableViewItem
// SigninPromoViewConfigurator used to configure the SigninPromoView.
@property(nonatomic, strong) SigninPromoViewConfigurator* configurator;
// SigninPromoViewDelegate to perform SigninPromoView actions.
@property(nonatomic, weak) id<SigninPromoViewDelegate> delegate;
// Text being displayed.
@property(nonatomic, readwrite, copy) NSString* text;
@end

// LegacyTableViewCell that contains a SignInPromoView.
@interface TableViewSigninPromoCell : LegacyTableViewCell
// The SigninPromoView contained by this Cell.
@property(nonatomic, strong) SigninPromoView* signinPromoView;
@end

#endif  // IOS_CHROME_BROWSER_AUTHENTICATION_UI_BUNDLED_CELLS_TABLE_VIEW_SIGNIN_PROMO_ITEM_H_
