#include "chrome/browser/ui/views/desktop_capture/desktop_media_delegated_source_list_view.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/views/layout/box_layout.h"
namespace {
BASE_FEATURE(…);
std::u16string GetMessageText(DesktopMediaList::Type type) { … }
std::u16string GetButtonText(DesktopMediaList::Type type) { … }
}
DesktopMediaDelegatedSourceListView::DesktopMediaDelegatedSourceListView(
base::WeakPtr<DesktopMediaListController> controller,
const std::u16string& accessible_name,
DesktopMediaList::Type type)
: … { … }
DesktopMediaDelegatedSourceListView::~DesktopMediaDelegatedSourceListView() =
default;
void DesktopMediaDelegatedSourceListView::OnSelectionChanged() { … }
std::optional<content::DesktopMediaID>
DesktopMediaDelegatedSourceListView::GetSelection() { … }
DesktopMediaListController::SourceListListener*
DesktopMediaDelegatedSourceListView::GetSourceListListener() { … }
void DesktopMediaDelegatedSourceListView::ClearSelection() { … }
void DesktopMediaDelegatedSourceListView::OnSourceAdded(size_t index) { … }
void DesktopMediaDelegatedSourceListView::OnSourceRemoved(size_t index) { … }
void DesktopMediaDelegatedSourceListView::OnSourceMoved(size_t old_index,
size_t new_index) { … }
void DesktopMediaDelegatedSourceListView::OnSourceNameChanged(size_t index) { … }
void DesktopMediaDelegatedSourceListView::OnSourceThumbnailChanged(
size_t index) { … }
void DesktopMediaDelegatedSourceListView::OnSourcePreviewChanged(size_t index) { … }
void DesktopMediaDelegatedSourceListView::OnDelegatedSourceListSelection() { … }
void DesktopMediaDelegatedSourceListView::GetAccessibleNodeData(
ui::AXNodeData* node_data) { … }