chromium/components/global_media_controls/public/views/media_action_button.cc

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

#include "components/global_media_controls/public/views/media_action_button.h"

#include "services/media_session/public/mojom/media_session.mojom.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/views/controls/button/image_button_factory.h"
#include "ui/views/controls/highlight_path_generator.h"

namespace global_media_controls {

namespace {

MediaSessionAction;

}  // namespace

MediaActionButton::MediaActionButton(PressedCallback callback,
                                     int button_id,
                                     int tooltip_text_id,
                                     int icon_size,
                                     const gfx::VectorIcon& vector_icon,
                                     gfx::Size button_size,
                                     ui::ColorId foreground_color_id,
                                     ui::ColorId foreground_disabled_color_id,
                                     ui::ColorId focus_ring_color_id)
    :{}

MediaActionButton::~MediaActionButton() = default;

void MediaActionButton::Update(int button_id,
                               const gfx::VectorIcon& vector_icon,
                               int tooltip_text_id,
                               ui::ColorId foreground_color_id) {}

void MediaActionButton::UpdateText(int tooltip_text_id) {}

void MediaActionButton::UpdateIcon(const gfx::VectorIcon& vector_icon) {}

BEGIN_METADATA()

}  // namespace global_media_controls