#include "chrome/browser/ui/views/sharing_hub/sharing_hub_icon_view.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/ui/browser_command_controller.h"
#include "chrome/browser/ui/omnibox/omnibox_pedal_implementations.h"
#include "chrome/browser/ui/qrcode_generator/qrcode_generator_bubble_controller.h"
#include "chrome/browser/ui/sharing_hub/sharing_hub_bubble_controller.h"
#include "chrome/browser/ui/view_ids.h"
#include "chrome/browser/ui/views/send_tab_to_self/send_tab_to_self_bubble_controller.h"
#include "chrome/browser/ui/views/sharing_hub/sharing_hub_bubble_view_impl.h"
#include "chrome/grit/generated_resources.h"
#include "components/omnibox/browser/omnibox_view.h"
#include "components/omnibox/browser/vector_icons.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/strings/grit/ui_strings.h"
#include "ui/views/accessibility/view_accessibility.h"
namespace sharing_hub {
namespace {
send_tab_to_self::SendTabToSelfBubbleController* GetSendTabToSelfController(
content::WebContents* web_contents) { … }
bool IsQRCodeDialogOpen(content::WebContents* web_contents) { … }
bool IsSendTabToSelfDialogOpen(content::WebContents* web_contents) { … }
}
SharingHubIconView::SharingHubIconView(
CommandUpdater* command_updater,
IconLabelBubbleView::Delegate* icon_label_bubble_delegate,
PageActionIconView::Delegate* page_action_icon_delegate)
: … { … }
SharingHubIconView::~SharingHubIconView() = default;
views::BubbleDialogDelegate* SharingHubIconView::GetBubble() const { … }
void SharingHubIconView::UpdateImpl() { … }
void SharingHubIconView::OnExecuting(
PageActionIconView::ExecuteSource execute_source) { … }
const gfx::VectorIcon& SharingHubIconView::GetVectorIcon() const { … }
SharingHubBubbleController* SharingHubIconView::GetController() const { … }
void SharingHubIconView::MaybeAnimateSendingToast() { … }
BEGIN_METADATA(…)
}