chromium/chrome/browser/ui/views/sharing_hub/sharing_hub_bubble_action_button.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/ui/views/sharing_hub/sharing_hub_bubble_action_button.h"

#include "chrome/app/vector_icons/vector_icons.h"
#include "chrome/browser/sharing_hub/sharing_hub_model.h"
#include "chrome/browser/ui/views/sharing_hub/sharing_hub_bubble_view_impl.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/models/image_model.h"
#include "ui/color/color_id.h"
#include "ui/color/color_provider.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/controls/image_view.h"
#include "ui/views/controls/label.h"
#include "ui/views/layout/flex_layout.h"

namespace sharing_hub {

namespace {

// These values values come directly from the Figma redlines. See
// https://crbug.com/1314486 and https://crbug.com/1343564.
static constexpr gfx::Insets kInteriorMargin =;
static constexpr gfx::Insets kDefaultMargin =;
static constexpr gfx::Size kPrimaryIconSize{};

// The layout will break if this icon isn't square - you may need to adjust the
// vector icon creation below.
static_assert;

ui::ImageModel ImageForAction(const SharingHubAction& action_info) {}

}  // namespace

SharingHubBubbleActionButton::SharingHubBubbleActionButton(
    SharingHubBubbleViewImpl* bubble,
    const SharingHubAction& action_info)
    :{}

SharingHubBubbleActionButton::~SharingHubBubbleActionButton() = default;

void SharingHubBubbleActionButton::OnThemeChanged() {}

void SharingHubBubbleActionButton::OnFocus() {}

void SharingHubBubbleActionButton::OnBlur() {}

void SharingHubBubbleActionButton::StateChanged(
    views::Button::ButtonState old_state) {}

void SharingHubBubbleActionButton::UpdateColors() {}

BEGIN_METADATA()

}  // namespace sharing_hub