chromium/ios/chrome/browser/overlays/ui_bundled/overlay_presentation_context_util.h

// Copyright 2020 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_OVERLAYS_UI_BUNDLED_OVERLAY_PRESENTATION_CONTEXT_UTIL_H_
#define IOS_CHROME_BROWSER_OVERLAYS_UI_BUNDLED_OVERLAY_PRESENTATION_CONTEXT_UTIL_H_

class OverlayPresentationContext;

// Returns whether `context`'s UIPresentationCapabilities currently support
// overlay UI implemented with contained UIViewControllers.
bool OverlayPresentationContextSupportsContainedUI(
    OverlayPresentationContext* context);

// Returns whether `context`'s UIPresentationCapabilities currently support
// overlay UI implemented with presented UIViewControllers.
bool OverlayPresentationContextSupportsPresentedUI(
    OverlayPresentationContext* context);

#endif  // IOS_CHROME_BROWSER_OVERLAYS_UI_BUNDLED_OVERLAY_PRESENTATION_CONTEXT_UTIL_H_