|
Move Renderer permanent callbacks into RendererClient interface.
We need to move the callbacks for video size and opacity change from
VideoFrameCompositor to VideoRenderer. Doing so will exceed the gmock
limit of 10 arguments for VideoRenderer::Initialize. This patch moves
the callbacks passed in VideoRenderer::Initialize into a RendererClient
interface so that additional callbacks can be added.
BUG= 571155
Committed: https://crrev.com/16bbeea8c7fed2b76b26bb9c7fcee326806514f7
Cr-Commit-Position: refs/heads/master@{#393396}
Total comments: 38
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+652 lines, -650 lines) |
Patch |
 |
M |
chromecast/browser/media/cast_renderer.h
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+11 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chromecast/browser/media/cast_renderer.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
7 chunks |
+50 lines, -23 lines |
0 comments
|
Download
|
 |
M |
chromecast/renderer/media/cma_renderer.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+3 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chromecast/renderer/media/cma_renderer.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
8 chunks |
+13 lines, -23 lines |
0 comments
|
Download
|
 |
M |
media/base/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
media/base/audio_renderer.h
|
View
|
1
2
3
4
5
|
2 chunks |
+7 lines, -23 lines |
0 comments
|
Download
|
 |
M |
media/base/mock_filters.h
|
View
|
1
2
3
4
5
6
|
4 chunks |
+23 lines, -21 lines |
0 comments
|
Download
|
 |
M |
media/base/mock_filters.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/base/pipeline_impl.h
|
View
|
1
2
3
4
5
|
5 chunks |
+11 lines, -14 lines |
0 comments
|
Download
|
 |
M |
media/base/pipeline_impl.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+43 lines, -48 lines |
0 comments
|
Download
|
 |
M |
media/base/pipeline_impl_unittest.cc
|
View
|
1
2
3
4
5
6
|
19 chunks |
+38 lines, -43 lines |
0 comments
|
Download
|
 |
M |
media/base/renderer.h
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -18 lines |
0 comments
|
Download
|
 |
A |
media/base/renderer_client.h
|
View
|
1
2
3
4
5
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/base/video_renderer.h
|
View
|
1
2
3
4
5
|
2 chunks |
+9 lines, -34 lines |
0 comments
|
Download
|
 |
M |
media/mojo/services/mojo_renderer_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
M |
media/mojo/services/mojo_renderer_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
6 chunks |
+8 lines, -15 lines |
0 comments
|
Download
|
 |
M |
media/mojo/services/mojo_renderer_service.h
|
View
|
1
2
3
|
5 chunks |
+9 lines, -14 lines |
0 comments
|
Download
|
 |
M |
media/mojo/services/mojo_renderer_service.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+29 lines, -30 lines |
0 comments
|
Download
|
 |
M |
media/renderers/audio_renderer_impl.h
|
View
|
1
2
3
4
5
|
3 chunks |
+12 lines, -11 lines |
0 comments
|
Download
|
 |
M |
media/renderers/audio_renderer_impl.cc
|
View
|
1
2
3
4
5
6
7
|
11 chunks |
+51 lines, -27 lines |
0 comments
|
Download
|
 |
M |
media/renderers/audio_renderer_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+9 lines, -19 lines |
0 comments
|
Download
|
 |
M |
media/renderers/renderer_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+13 lines, -18 lines |
0 comments
|
Download
|
 |
M |
media/renderers/renderer_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
12 chunks |
+74 lines, -61 lines |
0 comments
|
Download
|
 |
M |
media/renderers/renderer_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
25 chunks |
+51 lines, -72 lines |
0 comments
|
Download
|
 |
M |
media/renderers/video_renderer_impl.h
|
View
|
1
2
3
4
5
|
4 chunks |
+12 lines, -13 lines |
0 comments
|
Download
|
 |
M |
media/renderers/video_renderer_impl.cc
|
View
|
1
2
3
4
5
|
11 chunks |
+53 lines, -25 lines |
0 comments
|
Download
|
 |
M |
media/renderers/video_renderer_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
34 chunks |
+76 lines, -70 lines |
0 comments
|
Download
|
Total messages: 17 (4 generated)
|