#include "chrome/browser/ui/views/commerce/price_insights_icon_view.h"
#include "base/metrics/histogram_functions.h"
#include "base/timer/timer.h"
#include "chrome/browser/feature_engagement/tracker_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser_element_identifiers.h"
#include "chrome/browser/ui/color/chrome_color_id.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 "chrome/browser/ui/views/side_panel/side_panel_entry_id.h"
#include "chrome/browser/ui/views/side_panel/side_panel_ui.h"
#include "components/commerce/core/commerce_feature_list.h"
#include "components/commerce/core/shopping_service.h"
#include "components/feature_engagement/public/feature_constants.h"
#include "components/feature_engagement/public/tracker.h"
#include "components/strings/grit/components_strings.h"
#include "components/vector_icons/vector_icons.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/animation/ink_drop.h"
#include "ui/views/animation/ink_drop_state.h"
#include "ui/views/view_class_properties.h"
PriceInsightsIconView::PriceInsightsIconView(
IconLabelBubbleView::Delegate* icon_label_bubble_delegate,
PageActionIconView::Delegate* page_action_icon_delegate,
Profile* profile)
: … { … }
PriceInsightsIconView::~PriceInsightsIconView() = default;
views::BubbleDialogDelegate* PriceInsightsIconView::GetBubble() const { … }
const gfx::VectorIcon& PriceInsightsIconView::GetVectorIcon() const { … }
void PriceInsightsIconView::UpdateImpl() { … }
void PriceInsightsIconView::HidePageActionLabel() { … }
void PriceInsightsIconView::MaybeShowPageActionLabel() { … }
PriceInsightsIconView::PriceInsightsIconLabelType
PriceInsightsIconView::GetLabelTypeForPage() { … }
void PriceInsightsIconView::UpdatePriceInsightsIconLabel() { … }
void PriceInsightsIconView::AnimationProgressed(
const gfx::Animation* animation) { … }
void PriceInsightsIconView::OnExecuting(
PageActionIconView::ExecuteSource execute_source) { … }
bool PriceInsightsIconView::ShouldShow() const { … }
const std::u16string& PriceInsightsIconView::GetIconLabelForTesting() { … }
bool PriceInsightsIconView::IsIconHighlightedForTesting() { … }
BEGIN_METADATA(…)