// Copyright 2026 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_APP_BAR_UI_APP_BAR_CONTAINER_VIEW_H_
#define IOS_CHROME_BROWSER_APP_BAR_UI_APP_BAR_CONTAINER_VIEW_H_

#import <UIKit/UIKit.h>

enum class AppBarPosition;
@protocol AppBarContainerViewDelegate;

// Container view for the App Bar. It is in charge of positioning and layout
// based on the window size.
@interface AppBarContainerView : UIView

// Delegate for rotation and window events.
@property(nonatomic, weak) id<AppBarContainerViewDelegate> delegate;

// The progress of the fullscreen state.
@property(nonatomic, assign) CGFloat fullscreenProgress;

// The position of the app bar.
@property(nonatomic, assign) AppBarPosition appBarPosition;

// Indicates whether the assistant container is invoked.
@property(nonatomic, assign) BOOL assistantContainerInvoked;

// Sets the App Bar view to be contained.
- (void)setAppBar:(UIView*)appBar;

@end

#endif  // IOS_CHROME_BROWSER_APP_BAR_UI_APP_BAR_CONTAINER_VIEW_H_
