Moves video frame callbacks from VideoFrameCompositor to Renderer.
BUG=571155
Review-Url: https://codereview.chromium.org/1978973002
Cr-Commit-Position: refs/heads/master@{#394209}
diff --git a/media/renderers/renderer_impl.h b/media/renderers/renderer_impl.h
index 2241785..9eb1d4f6 100644
--- a/media/renderers/renderer_impl.h
+++ b/media/renderers/renderer_impl.h
@@ -22,6 +22,7 @@
#include "media/base/media_export.h"
#include "media/base/pipeline_status.h"
#include "media/base/renderer.h"
+#include "ui/gfx/geometry/size.h"
namespace base {
class SingleThreadTaskRunner;
@@ -128,6 +129,8 @@
// Callback executed when a runtime error happens.
void OnError(PipelineStatus error);
void OnWaitingForDecryptionKey();
+ void OnVideoNaturalSizeChange(const gfx::Size& size);
+ void OnVideoOpacityChange(bool opaque);
State state_;