#include "chrome/browser/ui/views/autofill/payments/autofill_progress_dialog_views.h"
#include "base/functional/bind.h"
#include "base/memory/weak_ptr.h"
#include "base/task/single_thread_task_runner.h"
#include "chrome/browser/ui/autofill/payments/payments_ui_constants.h"
#include "chrome/browser/ui/autofill/payments/view_factory.h"
#include "chrome/browser/ui/views/autofill/payments/payments_view_util.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/browser/ui/views/chrome_typography.h"
#include "components/autofill/core/browser/metrics/autofill_metrics.h"
#include "components/autofill/core/browser/ui/payments/autofill_progress_dialog_controller.h"
#include "components/constrained_window/constrained_window_views.h"
#include "ui/base/mojom/dialog_button.mojom.h"
#include "ui/base/mojom/ui_base_types.mojom-shared.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/bubble/bubble_frame_view.h"
#include "ui/views/controls/label.h"
#include "ui/views/controls/throbber.h"
#include "ui/views/layout/box_layout.h"
#include "ui/views/layout/box_layout_view.h"
#include "ui/views/style/typography.h"
#include "ui/views/view_class_properties.h"
namespace autofill {
AutofillProgressDialogViews::AutofillProgressDialogViews(
base::WeakPtr<AutofillProgressDialogController> controller)
: … { … }
AutofillProgressDialogViews::~AutofillProgressDialogViews() { … }
void AutofillProgressDialogViews::Dismiss(bool show_confirmation_before_closing,
bool is_canceled_by_user) { … }
void AutofillProgressDialogViews::InvalidateControllerForCallbacks() { … }
base::WeakPtr<AutofillProgressDialogView>
AutofillProgressDialogViews::GetWeakPtr() { … }
void AutofillProgressDialogViews::AddedToWidget() { … }
std::u16string AutofillProgressDialogViews::GetWindowTitle() const { … }
void AutofillProgressDialogViews::CloseWidget() { … }
void AutofillProgressDialogViews::OnDialogCanceled() { … }
base::WeakPtr<AutofillProgressDialogView> CreateAndShowProgressDialog(
base::WeakPtr<AutofillProgressDialogController> controller,
content::WebContents* web_contents) { … }
}