#include "chrome/browser/ui/views/autofill/payments/offer_notification_bubble_views.h"
#include "base/strings/strcat.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/ui/views/accessibility/theme_tracking_non_accessible_image_view.h"
#include "chrome/browser/ui/views/autofill/autofill_location_bar_bubble.h"
#include "chrome/browser/ui/views/autofill/payments/payments_view_util.h"
#include "chrome/browser/ui/views/autofill/payments/promo_code_label_button.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/browser/ui/views/chrome_typography.h"
#include "chrome/browser/ui/views/controls/page_switcher_view.h"
#include "chrome/browser/ui/views/controls/subpage_view.h"
#include "chrome/grit/theme_resources.h"
#include "components/autofill/core/browser/data_model/autofill_offer_data.h"
#include "components/autofill/core/browser/data_model/credit_card.h"
#include "components/autofill/core/common/autofill_payments_features.h"
#include "components/strings/grit/components_strings.h"
#include "net/base/registry_controlled_domains/registry_controlled_domain.h"
#include "ui/base/clipboard/clipboard_buffer.h"
#include "ui/base/clipboard/scoped_clipboard_writer.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/mojom/dialog_button.mojom.h"
#include "ui/base/ui_base_features.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/styled_label.h"
#include "ui/views/interaction/element_tracker_views.h"
#include "ui/views/layout/box_layout.h"
#include "ui/views/layout/box_layout_view.h"
#include "ui/views/layout/fill_layout.h"
#include "ui/views/layout/flex_layout.h"
#include "ui/views/layout/layout_types.h"
namespace autofill {
DEFINE_ELEMENT_IDENTIFIER_VALUE(kOfferNotificationBubbleElementId);
OfferNotificationBubbleViews::OfferNotificationBubbleViews(
views::View* anchor_view,
content::WebContents* web_contents,
OfferNotificationBubbleController* controller)
: … { … }
OfferNotificationBubbleViews::~OfferNotificationBubbleViews() { … }
void OfferNotificationBubbleViews::Hide() { … }
void OfferNotificationBubbleViews::Init() { … }
void OfferNotificationBubbleViews::AddedToWidget() { … }
std::u16string OfferNotificationBubbleViews::GetWindowTitle() const { … }
void OfferNotificationBubbleViews::WindowClosing() { … }
void OfferNotificationBubbleViews::OnWidgetDestroying(views::Widget* widget) { … }
void OfferNotificationBubbleViews::InitWithCardLinkedOfferContent() { … }
void OfferNotificationBubbleViews::InitWithGPayPromoCodeOfferContent() { … }
void OfferNotificationBubbleViews::OnPromoCodeSeeDetailsClicked() { … }
}