#include "content/browser/display_cutout/display_cutout_host_impl.h"
#include "content/browser/display_cutout/display_cutout_constants.h"
#include "content/browser/display_cutout/safe_area_insets_host.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
#include "content/browser/web_contents/web_contents_impl.h"
#include "content/public/browser/navigation_handle.h"
#include "third_party/blink/public/common/associated_interfaces/associated_interface_provider.h"
namespace content {
DisplayCutoutHostImpl::DisplayCutoutHostImpl(WebContentsImpl* web_contents)
: … { … }
DisplayCutoutHostImpl::~DisplayCutoutHostImpl() = default;
void DisplayCutoutHostImpl::ViewportFitChangedForFrame(
RenderFrameHost* rfh,
blink::mojom::ViewportFit value) { … }
void DisplayCutoutHostImpl::DidAcquireFullscreen(RenderFrameHost* rfh) { … }
void DisplayCutoutHostImpl::DidExitFullscreen() { … }
void DisplayCutoutHostImpl::DidFinishNavigation(
NavigationHandle* navigation_handle) { … }
void DisplayCutoutHostImpl::RenderFrameDeleted(RenderFrameHost* rfh) { … }
void DisplayCutoutHostImpl::RenderFrameCreated(RenderFrameHost* rfh) { … }
void DisplayCutoutHostImpl::SetDisplayCutoutSafeArea(gfx::Insets insets) { … }
void DisplayCutoutHostImpl::SetCurrentRenderFrameHost(RenderFrameHost* rfh) { … }
blink::mojom::ViewportFit DisplayCutoutHostImpl::GetValueOrDefault(
RenderFrameHost* rfh) const { … }
}