chromium/chrome/browser/media/webrtc/fake_desktop_media_list.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/media/webrtc/fake_desktop_media_list.h"

#include <utility>

#include "base/functional/callback.h"
#include "base/strings/string_number_conversions.h"
#include "chrome/browser/media/webrtc/desktop_media_list.h"
#include "chrome/browser/media/webrtc/desktop_media_list_observer.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/gfx/geometry/skia_conversions.h"

DesktopMediaID;

FakeDesktopMediaList::FakeDesktopMediaList(DesktopMediaList::Type type,
                                           bool is_source_list_delegated)
    :{}

FakeDesktopMediaList::~FakeDesktopMediaList() = default;

void FakeDesktopMediaList::AddSource(int id) {}

void FakeDesktopMediaList::AddSourceByFullMediaID(
    content::DesktopMediaID media_id) {}

void FakeDesktopMediaList::RemoveSource(int index) {}

void FakeDesktopMediaList::MoveSource(int old_index, int new_index) {}

void FakeDesktopMediaList::SetSourceThumbnail(int index) {}

void FakeDesktopMediaList::SetSourceName(int index, std::u16string name) {}

void FakeDesktopMediaList::SetSourcePreview(int index, gfx::ImageSkia preview) {}

void FakeDesktopMediaList::SetUpdatePeriod(base::TimeDelta period) {}

void FakeDesktopMediaList::SetThumbnailSize(const gfx::Size& thumbnail_size) {}

void FakeDesktopMediaList::SetViewDialogWindowId(
    content::DesktopMediaID dialog_id) {}

void FakeDesktopMediaList::StartUpdating(DesktopMediaListObserver* observer) {}

void FakeDesktopMediaList::Update(UpdateCallback callback) {}

int FakeDesktopMediaList::GetSourceCount() const {}

const DesktopMediaList::Source& FakeDesktopMediaList::GetSource(
    int index) const {}

DesktopMediaList::Type FakeDesktopMediaList::GetMediaListType() const {}

void FakeDesktopMediaList::SetPreviewedSource(
    const std::optional<content::DesktopMediaID>& id) {}

bool FakeDesktopMediaList::IsSourceListDelegated() const {}

void FakeDesktopMediaList::ClearDelegatedSourceListSelection() {}

void FakeDesktopMediaList::FocusList() {}

void FakeDesktopMediaList::HideList() {}

void FakeDesktopMediaList::ShowDelegatedList() {}

void FakeDesktopMediaList::OnDelegatedSourceListSelection() {}

void FakeDesktopMediaList::OnDelegatedSourceListDismissed() {}