#include "content/browser/media/flinging_renderer.h"
#include <utility>
#include "base/memory/ptr_util.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/browser/presentation_service_delegate.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/content_client.h"
namespace content {
FlingingRenderer::FlingingRenderer(
std::unique_ptr<media::FlingingController> controller,
mojo::PendingRemote<ClientExtension> client_extension)
: … { … }
FlingingRenderer::~FlingingRenderer() { … }
std::unique_ptr<FlingingRenderer> FlingingRenderer::Create(
RenderFrameHost* render_frame_host,
const std::string& presentation_id,
mojo::PendingRemote<ClientExtension> client_extension) { … }
void FlingingRenderer::Initialize(media::MediaResource* media_resource,
media::RendererClient* client,
media::PipelineStatusCallback init_cb) { … }
void FlingingRenderer::SetLatencyHint(
std::optional<base::TimeDelta> latency_hint) { … }
void FlingingRenderer::Flush(base::OnceClosure flush_cb) { … }
void FlingingRenderer::StartPlayingFrom(base::TimeDelta time) { … }
void FlingingRenderer::SetPlaybackRate(double playback_rate) { … }
void FlingingRenderer::SetVolume(float volume) { … }
base::TimeDelta FlingingRenderer::GetMediaTime() { … }
media::RendererType FlingingRenderer::GetRendererType() { … }
void FlingingRenderer::SetExpectedPlayState(PlayState state) { … }
void FlingingRenderer::OnMediaStatusUpdated(const media::MediaStatus& status) { … }
}