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

Unified Diff: media/base/mock_filters.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/BUILD.gn ('k') | media/base/pipeline.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/mock_filters.h
diff --git a/media/base/mock_filters.h b/media/base/mock_filters.h
index c2447620c90c5535b8507e90df5d1a5a498e17e3..78d18a5924847bf7188a7b91597fd4a749d401ae 100644
--- a/media/base/mock_filters.h
+++ b/media/base/mock_filters.h
@@ -47,6 +47,8 @@ class MockPipelineClient : public Pipeline::Client {
MOCK_METHOD2(OnAddTextTrack,
void(const TextTrackConfig&, const AddTextTrackDoneCB&));
MOCK_METHOD0(OnWaitingForDecryptionKey, void());
+ MOCK_METHOD1(OnVideoNaturalSizeChange, void(const gfx::Size&));
+ MOCK_METHOD1(OnVideoOpacityChange, void(bool));
};
class MockPipeline : public Pipeline {
@@ -209,6 +211,8 @@ class MockRendererClient : public RendererClient {
MOCK_METHOD1(OnStatisticsUpdate, void(const PipelineStatistics&));
MOCK_METHOD1(OnBufferingStateChange, void(BufferingState));
MOCK_METHOD0(OnWaitingForDecryptionKey, void());
+ MOCK_METHOD1(OnVideoNaturalSizeChange, void(const gfx::Size&));
+ MOCK_METHOD1(OnVideoOpacityChange, void(bool));
};
class MockVideoRenderer : public VideoRenderer {
« no previous file with comments | « media/base/BUILD.gn ('k') | media/base/pipeline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698