#include "chrome/browser/ui/views/global_media_controls/media_item_ui_legacy_cast_footer_view.h"
#include "chrome/app/vector_icons/vector_icons.h"
#include "chrome/browser/feature_engagement/tracker_factory.h"
#include "chrome/browser/ui/global_media_controls/cast_media_notification_item.h"
#include "chrome/browser/ui/global_media_controls/media_notification_service.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/grit/generated_resources.h"
#include "components/feature_engagement/public/tracker.h"
#include "components/global_media_controls/public/media_item_manager.h"
#include "components/media_message_center/media_notification_item.h"
#include "components/media_router/browser/media_router.h"
#include "components/media_router/browser/media_router_factory.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/gfx/paint_vector_icon.h"
#include "ui/views/animation/ink_drop.h"
#include "ui/views/background.h"
#include "ui/views/border.h"
#include "ui/views/controls/button/label_button.h"
#include "ui/views/controls/highlight_path_generator.h"
#include "ui/views/layout/box_layout.h"
namespace {
constexpr auto kInsets = …;
constexpr gfx::Size kSize{ … };
constexpr auto kBorderInsets = …;
}
MediaItemUILegacyCastFooterView::MediaItemUILegacyCastFooterView(
base::RepeatingClosure stop_casting_callback)
: … { … }
MediaItemUILegacyCastFooterView::~MediaItemUILegacyCastFooterView() = default;
views::Button*
MediaItemUILegacyCastFooterView::GetStopCastingButtonForTesting() { … }
void MediaItemUILegacyCastFooterView::OnColorsChanged(SkColor foreground,
SkColor background) { … }
void MediaItemUILegacyCastFooterView::StopCasting() { … }
void MediaItemUILegacyCastFooterView::UpdateColors() { … }
BEGIN_METADATA(…)