#include "chrome/browser/ui/views/global_media_controls/media_item_ui_cast_footer_view.h"
#include "components/media_message_center/vector_icons/vector_icons.h"
#include "components/strings/grit/components_strings.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/views/background.h"
#include "ui/views/layout/box_layout.h"
namespace {
constexpr int kButtonHeight = …;
constexpr int kIconSize = …;
constexpr int kFontSize = …;
constexpr int kImageLabelSpacing = …;
constexpr auto kViewInsets = …;
constexpr auto kButtonInsets = …;
class StopCastingButton : public views::LabelButton { … };
BEGIN_METADATA(…)
}
MediaItemUICastFooterView::MediaItemUICastFooterView(
base::RepeatingClosure stop_casting_callback,
media_message_center::MediaColorTheme media_color_theme)
: … { … }
MediaItemUICastFooterView::~MediaItemUICastFooterView() = default;
views::Button* MediaItemUICastFooterView::GetStopCastingButtonForTesting() { … }
void MediaItemUICastFooterView::StopCasting() { … }
BEGIN_METADATA(…)