#include "chrome/browser/ui/views/sharing/sharing_icon_view.h"
#include "chrome/app/vector_icons/vector_icons.h"
#include "components/vector_icons/vector_icons.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/compositor/layer.h"
#include "ui/gfx/paint_vector_icon.h"
#include "ui/gfx/scoped_canvas.h"
#include "ui/strings/grit/ui_strings.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/animation/ink_drop.h"
#include "ui/views/bubble/bubble_dialog_delegate_view.h"
namespace {
constexpr double kAnimationTextFullLengthShownProgressState = …;
}
SharingIconView::SharingIconView(
IconLabelBubbleView::Delegate* icon_label_bubble_delegate,
PageActionIconView::Delegate* page_action_icon_delegate,
GetControllerCallback get_controller_callback,
GetBubbleCallback get_bubble_callback)
: … { … }
SharingIconView::~SharingIconView() = default;
SharingUiController* SharingIconView::GetController() const { … }
void SharingIconView::StartLoadingAnimation() { … }
void SharingIconView::StopLoadingAnimation() { … }
void SharingIconView::UpdateImpl() { … }
void SharingIconView::AnimationProgressed(const gfx::Animation* animation) { … }
void SharingIconView::AnimationEnded(const gfx::Animation* animation) { … }
void SharingIconView::UpdateOpacity() { … }
void SharingIconView::UpdateInkDrop(bool activate) { … }
bool SharingIconView::IsTriggerableEvent(const ui::Event& event) { … }
const gfx::VectorIcon& SharingIconView::GetVectorIconBadge() const { … }
void SharingIconView::OnExecuting(
PageActionIconView::ExecuteSource execute_source) { … }
views::BubbleDialogDelegate* SharingIconView::GetBubble() const { … }
const gfx::VectorIcon& SharingIconView::GetVectorIcon() const { … }
void SharingIconView::GetAccessibleNodeData(ui::AXNodeData* node_data) { … }
BEGIN_METADATA(…)