blob: 21ac06889c4c48de3c57f850402752518438d9c9 [file] [log] [blame]
// Copyright 2023 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_UI_BROWSER_VIEW_SAFE_AREA_PROVIDER_H_
#define IOS_CHROME_BROWSER_UI_BROWSER_VIEW_SAFE_AREA_PROVIDER_H_
#import <UIKit/UIKit.h>
class Browser;
// Provider used to determine the safe area insets.
@interface SafeAreaProvider : NSObject
// The safe area insets object.
@property(nonatomic, readonly) UIEdgeInsets safeArea;
- (instancetype)initWithBrowser:(Browser*)browser NS_DESIGNATED_INITIALIZER;
- (instancetype)init NS_UNAVAILABLE;
@end
#endif // IOS_CHROME_BROWSER_UI_BROWSER_VIEW_SAFE_AREA_PROVIDER_H_