chromium/chrome/browser/ui/views/extensions/chooser_dialog_view.cc

// Copyright 2016 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/extensions/chooser_dialog_view.h"

#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/extensions/api/chrome_device_permissions_prompt.h"
#include "chrome/browser/extensions/device_permissions_dialog_controller.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/browser/ui/views/device_chooser_content_view.h"
#include "components/constrained_window/constrained_window_views.h"
#include "components/permissions/chooser_controller.h"
#include "components/web_modal/web_contents_modal_dialog_manager.h"
#include "content/public/browser/browser_thread.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/gfx/geometry/insets.h"
#include "ui/views/background.h"
#include "ui/views/border.h"
#include "ui/views/controls/button/label_button.h"
#include "ui/views/controls/link.h"
#include "ui/views/controls/styled_label.h"

ChooserDialogView::ChooserDialogView(
    std::unique_ptr<permissions::ChooserController> chooser_controller) {}

ChooserDialogView::~ChooserDialogView() {}

bool ChooserDialogView::IsDialogButtonEnabled(
    ui::mojom::DialogButton button) const {}

views::View* ChooserDialogView::GetInitiallyFocusedView() {}

void ChooserDialogView::OnSelectionChanged() {}

BEGIN_METADATA()

namespace extensions {

void ShowConstrainedDeviceChooserDialog(
    content::WebContents* web_contents,
    std::unique_ptr<permissions::ChooserController> controller) {}

}  //  namespace extensions

void ChromeDevicePermissionsPrompt::ShowDialogViews() {}