#include "chrome/browser/ui/global_media_controls/supplemental_device_picker_item.h"
#include "base/unguessable_token.h"
#include "components/favicon/content/content_favicon_driver.h"
#include "components/favicon/core/favicon_driver.h"
#include "components/global_media_controls/public/constants.h"
#include "components/global_media_controls/public/media_item_manager.h"
#include "components/media_message_center/media_notification_util.h"
#include "components/media_message_center/media_notification_view.h"
#include "components/media_router/browser/presentation/presentation_service_delegate_impl.h"
#include "content/public/browser/media_session.h"
#include "services/media_session/public/cpp/media_image_manager.h"
#include "services/media_session/public/cpp/media_metadata.h"
#include "ui/gfx/image/image_skia.h"
SupplementalDevicePickerItem::SupplementalDevicePickerItem(
global_media_controls::MediaItemManager* item_manager,
const base::UnguessableToken& source_id)
: … { … }
SupplementalDevicePickerItem::~SupplementalDevicePickerItem() { … }
void SupplementalDevicePickerItem::SetView(
media_message_center::MediaNotificationView* view) { … }
void SupplementalDevicePickerItem::Dismiss() { … }
void SupplementalDevicePickerItem::UpdateViewWithMetadata(
const media_session::MediaMetadata& metadata) { … }
void SupplementalDevicePickerItem::UpdateViewWithArtworkImage(
std::optional<gfx::ImageSkia> artwork_image) { … }
void SupplementalDevicePickerItem::UpdateViewWithFaviconImage(
std::optional<gfx::ImageSkia> favicon_image) { … }
bool SupplementalDevicePickerItem::RequestMediaRemoting() { … }
media_message_center::Source SupplementalDevicePickerItem::GetSource() const { … }
media_message_center::SourceType SupplementalDevicePickerItem::GetSourceType()
const { … }
std::optional<base::UnguessableToken>
SupplementalDevicePickerItem::GetSourceId() const { … }
void SupplementalDevicePickerItem::UpdateViewWithMetadata() { … }
void SupplementalDevicePickerItem::UpdateViewWithImages() { … }