#include "chrome/browser/ui/views/autofill/payments/virtual_card_manual_fallback_bubble_views.h"
#include "base/functional/bind.h"
#include "base/strings/strcat.h"
#include "chrome/browser/ui/views/autofill/payments/payments_view_util.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "components/autofill/core/browser/data_model/credit_card.h"
#include "components/autofill/core/browser/payments/payments_service_url.h"
#include "components/autofill/core/browser/ui/payments/bubble_show_options.h"
#include "components/strings/grit/components_strings.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/mojom/dialog_button.mojom.h"
#include "ui/gfx/geometry/insets.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/bubble/bubble_frame_view.h"
#include "ui/views/controls/button/md_text_button.h"
#include "ui/views/controls/separator.h"
#include "ui/views/controls/styled_label.h"
#include "ui/views/layout/box_layout_view.h"
#include "ui/views/layout/flex_layout.h"
#include "ui/views/style/typography.h"
namespace autofill {
namespace {
std::unique_ptr<views::Label> CreateRowItemLabel(std::u16string text) { … }
std::unique_ptr<views::BoxLayoutView> CreateButtonContainer() { … }
}
VirtualCardManualFallbackBubbleViews::VirtualCardManualFallbackBubbleViews(
views::View* anchor_view,
content::WebContents* web_contents,
VirtualCardManualFallbackBubbleController* controller)
: … { … }
VirtualCardManualFallbackBubbleViews::~VirtualCardManualFallbackBubbleViews() { … }
void VirtualCardManualFallbackBubbleViews::Hide() { … }
void VirtualCardManualFallbackBubbleViews::Init() { … }
void VirtualCardManualFallbackBubbleViews::AddedToWidget() { … }
std::u16string VirtualCardManualFallbackBubbleViews::GetWindowTitle() const { … }
void VirtualCardManualFallbackBubbleViews::WindowClosing() { … }
void VirtualCardManualFallbackBubbleViews::OnWidgetDestroying(
views::Widget* widget) { … }
std::unique_ptr<views::MdTextButton>
VirtualCardManualFallbackBubbleViews::CreateRowItemButtonForField(
VirtualCardManualFallbackBubbleField field) { … }
void VirtualCardManualFallbackBubbleViews::AddCardDescriptionView(
views::View* parent) { … }
void VirtualCardManualFallbackBubbleViews::AddCardDetailButtons(
views::View* parent) { … }
void VirtualCardManualFallbackBubbleViews::OnFieldClicked(
VirtualCardManualFallbackBubbleField field) { … }
void VirtualCardManualFallbackBubbleViews::
UpdateButtonTooltipsAndAccessibleNames() { … }
void VirtualCardManualFallbackBubbleViews::LearnMoreLinkClicked() { … }
}