#include "chrome/browser/ui/views/payments/secure_payment_confirmation_no_creds_dialog_view.h"
#include "chrome/browser/ui/views/extensions/security_dialog_tracker.h"
#include "chrome/browser/ui/views/payments/secure_payment_confirmation_views_util.h"
#include "components/constrained_window/constrained_window_views.h"
#include "components/payments/content/payment_ui_observer.h"
#include "components/payments/content/secure_payment_confirmation_no_creds_model.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/views/border.h"
#include "ui/views/controls/label.h"
#include "ui/views/controls/link.h"
#include "ui/views/controls/styled_label.h"
#include "ui/views/layout/box_layout.h"
#include "ui/views/layout/layout_provider.h"
namespace payments {
base::WeakPtr<SecurePaymentConfirmationNoCredsView>
SecurePaymentConfirmationNoCredsView::Create() { … }
SecurePaymentConfirmationNoCredsDialogView::
SecurePaymentConfirmationNoCredsDialogView(
ObserverForTest* observer_for_test)
: … { … }
SecurePaymentConfirmationNoCredsDialogView::
~SecurePaymentConfirmationNoCredsDialogView() = default;
void SecurePaymentConfirmationNoCredsDialogView::ShowDialog(
content::WebContents* web_contents,
base::WeakPtr<SecurePaymentConfirmationNoCredsModel> model,
ResponseCallback response_callback,
OptOutCallback opt_out_callback) { … }
void SecurePaymentConfirmationNoCredsDialogView::HideDialog() { … }
bool SecurePaymentConfirmationNoCredsDialogView::ClickOptOutForTesting() { … }
bool SecurePaymentConfirmationNoCredsDialogView::ShouldShowCloseButton() const { … }
base::WeakPtr<SecurePaymentConfirmationNoCredsDialogView>
SecurePaymentConfirmationNoCredsDialogView::GetWeakPtr() { … }
void SecurePaymentConfirmationNoCredsDialogView::OnDialogClosed() { … }
void SecurePaymentConfirmationNoCredsDialogView::OnOptOutClicked() { … }
void SecurePaymentConfirmationNoCredsDialogView::InitChildViews() { … }
std::unique_ptr<views::View>
SecurePaymentConfirmationNoCredsDialogView::CreateBodyView() { … }
BEGIN_METADATA(…)
}