Index: media/base/pipeline.h |
diff --git a/media/base/pipeline.h b/media/base/pipeline.h |
index 18c6b3f9fce61cf435091c4c6915ad7771fc5b5b..0a909608b51f235d973703d5b7927b13b3c181cf 100644 |
--- a/media/base/pipeline.h |
+++ b/media/base/pipeline.h |
@@ -56,6 +56,12 @@ class MEDIA_EXPORT Pipeline { |
// Executed whenever the key needed to decrypt the stream is not available. |
virtual void OnWaitingForDecryptionKey() = 0; |
+ |
+ // Executed for the first video frame and whenever natural size changes. |
+ virtual void OnVideoNaturalSizeChange(const gfx::Size& size) = 0; |
+ |
+ // Executed for the first video frame and whenever opacity changes. |
+ virtual void OnVideoOpacityChange(bool opaque) = 0; |
}; |
virtual ~Pipeline() {} |