blob: 3e9ab7f15196e739ab66b9405b0153359d1c08ea [file] [log] [blame]
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_SHOWCASE_BADGES_SC_BADGE_CONTAINER_VIEW_CONTROLLER_H_
#define IOS_SHOWCASE_BADGES_SC_BADGE_CONTAINER_VIEW_CONTROLLER_H_
#import "ios/chrome/browser/ui/badges/badge_consumer.h"
#import "ios/chrome/browser/ui/badges/badge_delegate.h"
#import "ios/chrome/browser/ui/badges/badge_view_controller.h"
// Container view controller for badge view controller; this would include some
// control elements other than the badge view controller.
@interface SCBadgeContainerViewController : UIViewController
// Initializer that sets up the badge view controller with |delegate|.
- (instancetype)initWithBadgeDelegate:(id<BadgeDelegate>)delegate;
// The consumer being set up by the showcase badge coordinator.
@property(nonatomic, weak) id<BadgeConsumer> consumer;
// Whether new popup UI is enabled.
@property(nonatomic, readonly) BOOL useNewPopupUI;
@end
#endif // IOS_SHOWCASE_BADGES_SC_BADGE_CONTAINER_VIEW_CONTROLLER_H_