blob: 452c2cf550e8859faca3eb5055062a5c6d0f5b16 [file] [log] [blame]
// Copyright 2020 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_CHROME_BROWSER_UI_SCOPED_UI_BLOCKER_UI_BLOCKER_TARGET_H_
#define IOS_CHROME_BROWSER_UI_SCOPED_UI_BLOCKER_UI_BLOCKER_TARGET_H_
#import <Foundation/Foundation.h>
@protocol UIBlockerManager;
@class UIScene;
// Target to block all UI.
@protocol UIBlockerTarget <NSObject>
// Returns UI blocker manager.
@property(nonatomic, weak, readonly) id<UIBlockerManager> uiBlockerManager;
// Force the blocking UI to appear. Specifically, bring the blocking UI window
// forward.
- (void)bringBlockerToFront:(UIScene*)requestingScene API_AVAILABLE(ios(13));
@end
#endif // IOS_CHROME_BROWSER_UI_SCOPED_UI_BLOCKER_UI_BLOCKER_TARGET_H_