#include "components/feed/core/v2/stream_surface_set.h"
#include "base/observer_list.h"
#include "components/feed/core/v2/feed_stream_surface.h"
namespace feed {
StreamSurfaceSet::StreamSurfaceSet(const StreamType& stream_type)
: … { … }
StreamSurfaceSet::~StreamSurfaceSet() = default;
void StreamSurfaceSet::AddObserver(Observer* observer) { … }
void StreamSurfaceSet::RemoveObserver(Observer* observer) { … }
void StreamSurfaceSet::SurfaceAdded(
SurfaceId surface_id,
SurfaceRenderer* renderer,
feedwire::DiscoverLaunchResult loading_not_allowed_reason) { … }
void StreamSurfaceSet::SurfaceRemoved(SurfaceId surface_id) { … }
bool StreamSurfaceSet::SurfacePresent(SurfaceId surface_id) { … }
void StreamSurfaceSet::FeedViewed(SurfaceId surface_id) { … }
bool StreamSurfaceSet::HasSurfaceShowingContent() const { … }
StreamSurfaceSet::Entry* StreamSurfaceSet::FindSurface(SurfaceId surface_id) { … }
}