chromium/chrome/browser/ui/views/safe_browsing/tailored_security_desktop_dialog_manager.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/safe_browsing/tailored_security_desktop_dialog_manager.h"

#include <memory>
#include <utility>

#include "base/functional/callback.h"
#include "base/metrics/histogram_functions.h"
#include "base/metrics/user_metrics.h"
#include "base/metrics/user_metrics_action.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/chrome_pages.h"
#include "chrome/grit/generated_resources.h"
#include "chrome/grit/theme_resources.h"
#include "components/constrained_window/constrained_window_views.h"
#include "components/safe_browsing/core/browser/tailored_security_service/tailored_security_outcome.h"
#include "components/safe_browsing/core/browser/tailored_security_service/tailored_security_service_util.h"
#include "content/public/browser/web_contents.h"
#include "ui/base/interaction/element_identifier.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/models/dialog_model.h"
#include "ui/base/models/image_model.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/image/image_skia.h"
#include "ui/views/controls/label.h"

namespace safe_browsing {

namespace {
DEFINE_LOCAL_ELEMENT_IDENTIFIER_VALUE();
}  // namespace

// Base model delegate for the Tailored Security dialogs. This class implements
// the click behavior for the dialogs.
class TailoredSecurityDialogModelDelegate : public ui::DialogModelDelegate {};

class DisabledDialogModelDelegate : public TailoredSecurityDialogModelDelegate {};

class EnabledDialogModelDelegate : public TailoredSecurityDialogModelDelegate {};

TailoredSecurityDesktopDialogManager::TailoredSecurityDesktopDialogManager() =
    default;
TailoredSecurityDesktopDialogManager::~TailoredSecurityDesktopDialogManager() =
    default;

void TailoredSecurityDesktopDialogManager::ShowEnabledDialogForBrowser(
    Browser* browser) {}

void TailoredSecurityDesktopDialogManager::ShowDisabledDialogForBrowser(
    Browser* browser) {}

}  // namespace safe_browsing