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

Unified Diff: chromecast/media/cma/pipeline/video_pipeline_client.h

Issue 1372393007: [Chromecast] Upgrade to new CMA backend API (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 5 years, 2 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
Index: chromecast/media/cma/pipeline/video_pipeline_client.h
diff --git a/chromecast/media/cma/pipeline/video_pipeline_client.h b/chromecast/media/cma/pipeline/video_pipeline_client.h
index 105b8a2fe1154f4dc5ee02c0fd3df5d7143bed1f..039c65945f4cff56cbed7bf102152a7dcadc87c0 100644
--- a/chromecast/media/cma/pipeline/video_pipeline_client.h
+++ b/chromecast/media/cma/pipeline/video_pipeline_client.h
@@ -15,15 +15,29 @@ class Size;
namespace chromecast {
namespace media {
-struct VideoPipelineClient {
+struct RendererVideoPipelineClient {
typedef base::Callback<void(
const gfx::Size& natural_size)> NaturalSizeChangedCB;
- VideoPipelineClient();
- ~VideoPipelineClient();
+ RendererVideoPipelineClient();
+ ~RendererVideoPipelineClient();
// All the default callbacks.
- AvPipelineClient av_pipeline_client;
+ RendererAvPipelineClient av_pipeline_client;
+
+ // Video resolution change notification.
+ NaturalSizeChangedCB natural_size_changed_cb;
+};
+
+struct BrowserVideoPipelineClient {
+ typedef base::Callback<void(const gfx::Size& natural_size)>
+ NaturalSizeChangedCB;
+
+ BrowserVideoPipelineClient();
+ ~BrowserVideoPipelineClient();
+
+ // All the default callbacks.
+ BrowserAvPipelineClient av_pipeline_client;
// Video resolution change notification.
NaturalSizeChangedCB natural_size_changed_cb;

Powered by Google App Engine
This is Rietveld 408576698