chromium/content/browser/display_cutout/safe_area_insets_host.cc

// 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.

#include "content/browser/display_cutout/safe_area_insets_host.h"

#include "content/browser/display_cutout/display_cutout_host_impl.h"
#include "content/browser/display_cutout/safe_area_insets_host_impl.h"
#include "content/browser/web_contents/web_contents_impl.h"
#include "content/public/browser/render_frame_host_receiver_set.h"
#include "mojo/public/cpp/bindings/associated_remote.h"
#include "third_party/blink/public/common/associated_interfaces/associated_interface_provider.h"
#include "third_party/blink/public/mojom/page/display_cutout.mojom.h"
#include "ui/gfx/geometry/insets.h"

namespace content {

// static
std::unique_ptr<SafeAreaInsetsHost> SafeAreaInsetsHost::Create(
    WebContentsImpl* web_contents_impl) {}

SafeAreaInsetsHost::SafeAreaInsetsHost(WebContentsImpl* web_contents)
    :{}

SafeAreaInsetsHost::~SafeAreaInsetsHost() = default;

void SafeAreaInsetsHost::BindReceiver(
    mojo::PendingAssociatedReceiver<blink::mojom::DisplayCutoutHost> receiver,
    RenderFrameHost* rfh) {}

void SafeAreaInsetsHost::NotifyViewportFitChanged(
    blink::mojom::ViewportFit value) {}

void SafeAreaInsetsHost::SendSafeAreaToFrame(RenderFrameHost* rfh,
                                             gfx::Insets insets) {}

}  // namespace content