#include "chrome/browser/ui/views/safe_browsing/deep_scanning_failure_modal_dialog.h"
#include <memory>
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/grit/generated_resources.h"
#include "components/constrained_window/constrained_window_views.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/base/ui_base_types.h"
#include "ui/views/controls/button/md_text_button.h"
#include "ui/views/window/dialog_delegate.h"
namespace safe_browsing {
void DeepScanningFailureModalDialog::ShowForWebContents(
content::WebContents* web_contents,
base::OnceClosure accept_callback,
base::OnceClosure cancel_callback,
base::OnceClosure close_callback,
base::OnceClosure open_now_callback) { … }
DeepScanningFailureModalDialog::DeepScanningFailureModalDialog(
base::OnceClosure accept_callback,
base::OnceClosure cancel_callback,
base::OnceClosure close_callback,
base::OnceClosure open_now_callback)
: … { … }
DeepScanningFailureModalDialog::~DeepScanningFailureModalDialog() = default;
bool DeepScanningFailureModalDialog::IsDialogButtonEnabled(
ui::mojom::DialogButton button) const { … }
bool DeepScanningFailureModalDialog::ShouldShowCloseButton() const { … }
BEGIN_METADATA(…)
}