// 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_FULLSCREEN_UI_BUNDLED_TEST_FULLSCREEN_APP_INTERFACE_H_
#define IOS_CHROME_BROWSER_FULLSCREEN_UI_BUNDLED_TEST_FULLSCREEN_APP_INTERFACE_H_

#import <UIKit/UIKit.h>

// FullscreenAppInterface contains the app-side implementation for helpers.
// These helpers are compiled into the app binary and can be called from either
// app or test code.
@interface FullscreenAppInterface : NSObject

// Returns the current viewport insets for the visible web content view.
+ (UIEdgeInsets)currentViewportInsets;

// Returns the safe area insets of the key window.
+ (UIEdgeInsets)currentWindowSafeArea;

// Returns whether FullscreenRefactoring is enabled.
+ (BOOL)isFullscreenRefactoringEnabled;

@end

#endif  // IOS_CHROME_BROWSER_FULLSCREEN_UI_BUNDLED_TEST_FULLSCREEN_APP_INTERFACE_H_
