#include "chrome/browser/ui/views/commerce/discounts_icon_view.h"
#include "base/time/default_clock.h"
#include "base/time/time.h"
#include "base/timer/timer.h"
#include "chrome/browser/ui/browser_element_identifiers.h"
#include "chrome/browser/ui/commerce/commerce_ui_tab_helper.h"
#include "chrome/browser/ui/tabs/public/tab_features.h"
#include "chrome/browser/ui/tabs/public/tab_interface.h"
#include "components/commerce/core/metrics/discounts_metric_collector.h"
#include "components/strings/grit/components_strings.h"
#include "components/vector_icons/vector_icons.h"
#include "content/public/browser/web_contents.h"
#include "services/metrics/public/cpp/ukm_source_id.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/view_class_properties.h"
DiscountsIconView::DiscountsIconView(
IconLabelBubbleView::Delegate* icon_label_bubble_delegate,
PageActionIconView::Delegate* page_action_icon_delegate)
: … { … }
DiscountsIconView::~DiscountsIconView() = default;
views::BubbleDialogDelegate* DiscountsIconView::GetBubble() const { … }
void DiscountsIconView::OnExecuting(
PageActionIconView::ExecuteSource execute_source) { … }
const gfx::VectorIcon& DiscountsIconView::GetVectorIcon() const { … }
void DiscountsIconView::UpdateImpl() { … }
bool DiscountsIconView::ShouldShow() { … }
void DiscountsIconView::MaybeShowPageActionLabel() { … }
void DiscountsIconView::HidePageActionLabel() { … }
void DiscountsIconView::AnimationProgressed(const gfx::Animation* animation) { … }
commerce::CommerceUiTabHelper* DiscountsIconView::GetTabHelper() { … }
void DiscountsIconView::MaybeShowBubble(bool from_user) { … }
BEGIN_METADATA(…)