#include "components/autofill/core/browser/ui/payments/payments_window_user_consent_dialog_controller_impl.h"
#include "components/autofill/core/browser/metrics/payments/payments_window_metrics.h"
#include "components/autofill/core/browser/ui/payments/payments_window_user_consent_dialog.h"
#include "components/strings/grit/components_strings.h"
#include "ui/base/l10n/l10n_util.h"
namespace autofill::payments {
PaymentsWindowUserConsentDialogControllerImpl::
PaymentsWindowUserConsentDialogControllerImpl(
base::OnceClosure accept_callback,
base::OnceClosure cancel_callback)
: … { … }
PaymentsWindowUserConsentDialogControllerImpl::
~PaymentsWindowUserConsentDialogControllerImpl() { … }
void PaymentsWindowUserConsentDialogControllerImpl::ShowDialog(
base::OnceCallback<base::WeakPtr<PaymentsWindowUserConsentDialog>(
base::OnceClosure,
base::OnceClosure)> create_and_show_dialog_callback) { … }
void PaymentsWindowUserConsentDialogControllerImpl::OnOkButtonClicked() { … }
void PaymentsWindowUserConsentDialogControllerImpl::OnCancelButtonClicked() { … }
void PaymentsWindowUserConsentDialogControllerImpl::OnDialogClosing(
autofill_metrics::PaymentsWindowUserConsentDialogResult result) { … }
std::u16string PaymentsWindowUserConsentDialogControllerImpl::GetWindowTitle()
const { … }
std::u16string
PaymentsWindowUserConsentDialogControllerImpl::GetDialogDescription() const { … }
std::u16string PaymentsWindowUserConsentDialogControllerImpl::GetOkButtonLabel()
const { … }
}