chromium/chrome/browser/ui/views/web_apps/launch_app_user_choice_dialog_view.cc

// Copyright 2021 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/web_apps/launch_app_user_choice_dialog_view.h"

#include <memory>
#include <string>
#include <utility>

#include "base/check_op.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/task/single_thread_task_runner.h"
#include "build/build_config.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/browser/ui/views/web_apps/web_app_info_image_source.h"
#include "chrome/browser/ui/views/web_apps/web_app_views_utils.h"
#include "chrome/browser/web_applications/web_app_icon_manager.h"
#include "chrome/browser/web_applications/web_app_provider.h"
#include "chrome/browser/web_applications/web_app_registrar.h"
#include "chrome/grit/branded_strings.h"
#include "chrome/grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/mojom/ui_base_types.mojom-shared.h"
#include "ui/views/controls/button/checkbox.h"
#include "ui/views/layout/box_layout.h"
#include "ui/views/widget/widget.h"

namespace {

bool g_default_remember_selection =;

}  // namespace

namespace web_app {

void LaunchAppUserChoiceDialogView::SetDefaultRememberSelectionForTesting(
    bool remember_selection) {}

LaunchAppUserChoiceDialogView::LaunchAppUserChoiceDialogView(
    Profile* profile,
    const webapps::AppId& app_id,
    WebAppLaunchAcceptanceCallback close_callback)
    :{}

LaunchAppUserChoiceDialogView::~LaunchAppUserChoiceDialogView() = default;

void LaunchAppUserChoiceDialogView::Init() {}

void LaunchAppUserChoiceDialogView::OnAccepted() {}

void LaunchAppUserChoiceDialogView::OnCanceled() {}

void LaunchAppUserChoiceDialogView::OnClosed() {}

void LaunchAppUserChoiceDialogView::InitChildViews() {}

void LaunchAppUserChoiceDialogView::RunCloseCallback(
    bool allowed,
    bool remember_user_choice) {}

void LaunchAppUserChoiceDialogView::OnIconsRead(
    std::map<SquareSizePx, SkBitmap> icon_bitmaps) {}

BEGIN_METADATA()

}  // namespace web_app