#ifndef IOS_CHROME_COMMON_UI_UTIL_CHROME_BUTTON_H_
#define IOS_CHROME_COMMON_UI_UTIL_CHROME_BUTTON_H_
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, ChromeButtonStyle) {
ChromeButtonStylePrimary,
ChromeButtonStylePrimaryDestructive,
ChromeButtonStyleSecondary,
ChromeButtonStyleTertiary,
};
typedef NS_ENUM(NSInteger, PrimaryButtonImage) {
PrimaryButtonImageNone,
PrimaryButtonImageSpinner,
PrimaryButtonImageCheckmark,
};
@interface ChromeButton : UIButton
@property(nonatomic, assign) ChromeButtonStyle style;
@property(nonatomic, copy) NSString* title;
@property(nonatomic, copy) UIFont* font;
@property(nonatomic, assign) PrimaryButtonImage primaryButtonImage;
@property(nonatomic, assign) BOOL tunedDownStyle;
- (instancetype)initWithStyle:(ChromeButtonStyle)style
NS_DESIGNATED_INITIALIZER;
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE;
- (instancetype)initWithCoder:(NSCoder*)coder NS_UNAVAILABLE;
- (instancetype)initWithConfiguration:(UIButtonConfiguration*)configuration
primaryAction:(UIAction*)primaryAction NS_UNAVAILABLE;
@end
#endif