// Copyright 2019 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_INFOBARS_UI_BUNDLED_BANNERS_TEST_FAKE_INFOBAR_BANNER_CONSUMER_H_
#define IOS_CHROME_BROWSER_INFOBARS_UI_BUNDLED_BANNERS_TEST_FAKE_INFOBAR_BANNER_CONSUMER_H_

#import "ios/chrome/browser/infobars/ui_bundled/banners/infobar_banner_consumer.h"

// Fake InfobarBannerConsumer used in tests.
@interface FakeInfobarBannerConsumer : NSObject <InfobarBannerConsumer>
// Redefine InfobarBannerConsumer properties as readwrite.
@property(nonatomic, copy) NSString* bannerAccessibilityLabel;
@property(nonatomic, copy) NSString* buttonText;
@property(nonatomic, strong) UIImage* faviconImage;
@property(nonatomic, strong) UIImage* iconImage;
@property(nonatomic, strong) UIView* customView;
@property(nonatomic, assign) BOOL presentsModal;
@property(nonatomic, copy) NSString* titleText;
@property(nonatomic, copy) NSString* subtitleText;
@property(nonatomic, strong) UIColor* iconBackgroundColor;
@property(nonatomic, strong) UIColor* iconImageTintColor;
@property(nonatomic, assign) BOOL useIconBackgroundTint;
@property(nonatomic, assign) BOOL ignoreIconColorWithTint;
@property(nonatomic, assign) NSInteger titleNumberOfLines;
@property(nonatomic, assign) NSInteger subtitleNumberOfLines;
@property(nonatomic, assign) NSLineBreakMode subtitleLineBreakMode;
@end

#endif  // IOS_CHROME_BROWSER_INFOBARS_UI_BUNDLED_BANNERS_TEST_FAKE_INFOBAR_BANNER_CONSUMER_H_
