[go: nahoru, domu]

Move Renderer permanent callbacks into RendererClient interface.

We need to move the callbacks for video size and opacity change from
VideoFrameCompositor to VideoRenderer. Doing so will exceed the gmock
limit of 10 arguments for VideoRenderer::Initialize. This patch moves
the callbacks passed in VideoRenderer::Initialize into a RendererClient
interface so that additional callbacks can be added.

BUG=571155

Review-Url: https://codereview.chromium.org/1955843002
Cr-Commit-Position: refs/heads/master@{#393396}
27 files changed