Reimplement FrameSubscriber with mojo VideoCapture APIs

This commit is contained in:
Heilig Benedek 2018-04-18 02:45:15 +02:00 committed by Samuel Attard
parent 28f6e10e5a
commit 1de1ca906a
6 changed files with 99 additions and 104 deletions

View file

@ -151,9 +151,6 @@ class OffScreenRenderWidgetHostView
const gfx::Rect& src_subrect,
scoped_refptr<media::VideoFrame> target,
const base::Callback<void(const gfx::Rect&, bool)>& callback) override;
void BeginFrameSubscription(
std::unique_ptr<content::RenderWidgetHostViewFrameSubscriber>) override;
void EndFrameSubscription() override;
void InitAsGuest(content::RenderWidgetHostView*,
content::RenderWidgetHostViewGuest*) override;
bool HasAcceleratedSurface(const gfx::Size&) override;