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

// Copyright 2019 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_item_ui_list_view.h"

#include "base/containers/contains.h"
#include "components/global_media_controls/public/views/media_item_ui_updated_view.h"
#include "components/global_media_controls/public/views/media_item_ui_view.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/color/color_id.h"
#include "ui/color/color_provider.h"
#include "ui/views/border.h"
#include "ui/views/controls/scrollbar/overlay_scroll_bar.h"
#include "ui/views/layout/box_layout.h"

namespace global_media_controls {

namespace {

constexpr int kMediaListMaxHeight =;

// Thickness of separator border.
constexpr int kMediaListSeparatorThickness =;

#if !BUILDFLAG(IS_CHROMEOS)
// Padding for the borders and separators for non-CrOS updated UI.
constexpr int kMediaListUpdatedPadding =;
#endif

std::unique_ptr<views::Border> CreateMediaListSeparatorBorder(SkColor color,
                                                              int thickness) {}

}  // anonymous namespace

MediaItemUIListView::SeparatorStyle::SeparatorStyle(SkColor separator_color,
                                                    int separator_thickness)
    :{}

MediaItemUIListView::MediaItemUIListView()
    :{}

MediaItemUIListView::MediaItemUIListView(
    const std::optional<SeparatorStyle>& separator_style,
    bool should_clip_height)
    :{}

MediaItemUIListView::~MediaItemUIListView() = default;

void MediaItemUIListView::ShowItem(const std::string& id,
                                   std::unique_ptr<MediaItemUIView> item) {}

void MediaItemUIListView::HideItem(const std::string& id) {}

MediaItemUIView* MediaItemUIListView::GetItem(const std::string& id) {}

void MediaItemUIListView::ShowUpdatedItem(
    const std::string& id,
    std::unique_ptr<MediaItemUIUpdatedView> item) {}

void MediaItemUIListView::HideUpdatedItem(const std::string& id) {}

MediaItemUIUpdatedView* MediaItemUIListView::GetUpdatedItem(
    const std::string& id) {}

base::WeakPtr<MediaItemUIListView> MediaItemUIListView::GetWeakPtr() {}

BEGIN_METADATA()

}  // namespace global_media_controls