#include "chrome/browser/ui/views/sharing_hub/sharing_hub_bubble_view_impl.h"
#include "chrome/browser/share/share_metrics.h"
#include "chrome/browser/sharing_hub/sharing_hub_model.h"
#include "chrome/browser/ui/sharing_hub/sharing_hub_bubble_controller.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/browser/ui/views/chrome_typography.h"
#include "chrome/browser/ui/views/sharing_hub/preview_view.h"
#include "chrome/browser/ui/views/sharing_hub/sharing_hub_bubble_action_button.h"
#include "chrome/grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/mojom/dialog_button.mojom.h"
#include "ui/color/color_id.h"
#include "ui/color/color_provider.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/border.h"
#include "ui/views/controls/scroll_view.h"
#include "ui/views/controls/separator.h"
#include "ui/views/layout/box_layout.h"
#include "ui/views/layout/fill_layout.h"
namespace sharing_hub {
namespace {
constexpr int kActionButtonHeight = …;
constexpr int kMaximumButtons = …;
constexpr int kActionButtonGroup = …;
constexpr int kInterItemPadding = …;
}
SharingHubBubbleViewImpl::SharingHubBubbleViewImpl(
views::View* anchor_view,
share::ShareAttempt attempt,
SharingHubBubbleController* controller)
: … { … }
SharingHubBubbleViewImpl::~SharingHubBubbleViewImpl() = default;
void SharingHubBubbleViewImpl::Hide() { … }
void SharingHubBubbleViewImpl::OnThemeChanged() { … }
void SharingHubBubbleViewImpl::OnActionSelected(
SharingHubBubbleActionButton* button) { … }
void SharingHubBubbleViewImpl::Init() { … }
void SharingHubBubbleViewImpl::PopulateScrollView(
const std::vector<SharingHubAction>& first_party_actions) { … }
void SharingHubBubbleViewImpl::OnWindowClosing() { … }
BEGIN_METADATA(…)
}