#include "chrome/browser/ui/tab_modal_confirm_dialog_delegate.h"
#include "components/strings/grit/components_strings.h"
#include "content/public/browser/web_contents.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/mojom/dialog_button.mojom.h"
#include "ui/base/ui_base_types.h"
WebContents;
TabModalConfirmDialogDelegate::TabModalConfirmDialogDelegate(
WebContents* web_contents)
: … { … }
TabModalConfirmDialogDelegate::~TabModalConfirmDialogDelegate() { … }
void TabModalConfirmDialogDelegate::Cancel() { … }
void TabModalConfirmDialogDelegate::Accept() { … }
void TabModalConfirmDialogDelegate::Close() { … }
void TabModalConfirmDialogDelegate::LinkClicked(
WindowOpenDisposition disposition) { … }
gfx::Image* TabModalConfirmDialogDelegate::GetIcon() { … }
int TabModalConfirmDialogDelegate::GetDialogButtons() const { … }
std::u16string TabModalConfirmDialogDelegate::GetAcceptButtonTitle() { … }
std::u16string TabModalConfirmDialogDelegate::GetCancelButtonTitle() { … }
std::u16string TabModalConfirmDialogDelegate::GetLinkText() const { … }
const char* TabModalConfirmDialogDelegate::GetAcceptButtonIcon() { … }
const char* TabModalConfirmDialogDelegate::GetCancelButtonIcon() { … }
void TabModalConfirmDialogDelegate::OnAccepted() { … }
void TabModalConfirmDialogDelegate::OnCanceled() { … }
void TabModalConfirmDialogDelegate::OnLinkClicked(
WindowOpenDisposition disposition) { … }
void TabModalConfirmDialogDelegate::OnClosed() { … }
void TabModalConfirmDialogDelegate::CloseDialog() { … }
std::optional<int> TabModalConfirmDialogDelegate::GetDefaultDialogButton() { … }
std::optional<int> TabModalConfirmDialogDelegate::GetInitiallyFocusedButton() { … }
void TabModalConfirmDialogDelegate::DidStartLoading() { … }