Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1511)

Unified Diff: media/base/pipeline.h

Issue 1978973002: Moves video frame callbacks from VideoFrameCompositor to Renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addresses comments Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/mock_filters.h ('k') | media/base/pipeline_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {}
« no previous file with comments | « media/base/mock_filters.h ('k') | media/base/pipeline_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698