chromium/chrome/browser/ui/views/bluetooth_device_pair_confirm_view.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/ui/views/bluetooth_device_pair_confirm_view.h"

#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "chrome/browser/ui/bluetooth/bluetooth_dialogs.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/grit/generated_resources.h"
#include "components/constrained_window/constrained_window_views.h"
#include "components/vector_icons/vector_icons.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/mojom/dialog_button.mojom.h"
#include "ui/base/mojom/ui_base_types.mojom-shared.h"
#include "ui/color/color_id.h"
#include "ui/views/controls/image_view.h"
#include "ui/views/controls/label.h"
#include "ui/views/layout/flex_layout.h"

BluetoothDelegate;

void ShowBluetoothDevicePairConfirmDialog(
    content::WebContents* web_contents,
    const std::u16string& device_identifier,
    const std::optional<std::u16string>& pin,
    BluetoothDelegate::PairPromptCallback close_callback) {}

BluetoothDevicePairConfirmView::BluetoothDevicePairConfirmView(
    const std::u16string& device_identifier,
    const std::optional<std::u16string>& pin,
    BluetoothDelegate::PairPromptCallback close_callback)
    :{}

BluetoothDevicePairConfirmView::~BluetoothDevicePairConfirmView() = default;

void BluetoothDevicePairConfirmView::InitControls(
    const std::u16string& device_identifier,
    const std::optional<std::u16string>& pin) {}

gfx::Size BluetoothDevicePairConfirmView::CalculatePreferredSize(
    const views::SizeBounds& available_size) const {}

std::u16string BluetoothDevicePairConfirmView::GetWindowTitle() const {}

void BluetoothDevicePairConfirmView::OnDialogAccepted() {}

BEGIN_METADATA()