#include "components/global_media_controls/public/views/media_live_status_view.h"
#include "components/strings/grit/components_strings.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/compositor/layer.h"
#include "ui/views/background.h"
#include "ui/views/border.h"
#include "ui/views/controls/label.h"
namespace global_media_controls {
namespace {
constexpr int kViewHeight = …;
constexpr int kLineViewHeight = …;
constexpr int kLiveLabelPadding = …;
constexpr int kLiveLabelCornerRadius = …;
}
MediaLiveStatusView::MediaLiveStatusView(ui::ColorId foreground_color_id,
ui::ColorId background_color_id) { … }
MediaLiveStatusView::~MediaLiveStatusView() = default;
gfx::Size MediaLiveStatusView::CalculatePreferredSize(
const views::SizeBounds& available_size) const { … }
void MediaLiveStatusView::Layout(PassKey) { … }
views::View* MediaLiveStatusView::GetLineViewForTesting() { … }
views::Label* MediaLiveStatusView::GetLiveLabelForTesting() { … }
BEGIN_METADATA(…)
}