|
Plumb render view ID from audio-related code in renderer through IPCs to AudioRendererHost in browser process. This is a first step towards implementing three major Chromium features, all of which need to associate audio outputs with their source tabs. See BUGs referenced by this change for more details.
There are a two places where refactoring work is still needed to be able to plumb in render_view_ids. As the refactoring work is well out-of-scope for this change, stubs with TODO comments were added as placemarkers. Nevertheless, this change has been confirmed to function for the majority of use cases on the web.
Testing of render_view_id plumbing by audio output method:
<audio> works
Pepper works
WebAudio stub works
WebRTC stub works
NPAPI/Flash not tested (N/A)
BUG= 3541, 64215, 153392
TEST=Ran all media_unittests and content_unittests to confirm no breakage. Also, ran a debug build and manually visited websites using the above list of methods to confirm that no audio recording/playback regressions were introduced.
Total comments: 2
Total comments: 10
Total comments: 4
Total comments: 11
Total comments: 4
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+306 lines, -228 lines) |
Patch |
|
M |
content/browser/renderer_host/media/audio_input_renderer_host.h
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/media/audio_input_renderer_host.cc
|
View
|
1
2
3
4
|
1 chunk |
+14 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/media/audio_renderer_host.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/media/audio_renderer_host.cc
|
View
|
1
2
3
4
|
1 chunk |
+15 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/media/audio_renderer_host_unittest.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
content/common/media/audio_messages.h
|
View
|
1
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/audio_device_factory.h
|
View
|
1
|
2 chunks |
+11 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/audio_device_factory.cc
|
View
|
1
|
2 chunks |
+11 lines, -6 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/audio_input_message_filter.h
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -18 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/audio_input_message_filter.cc
|
View
|
1
2
3
4
|
3 chunks |
+43 lines, -38 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/audio_message_filter.h
|
View
|
1
2
3
4
|
3 chunks |
+7 lines, -18 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/audio_message_filter.cc
|
View
|
1
2
3
4
|
2 chunks |
+45 lines, -39 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/audio_message_filter_unittest.cc
|
View
|
|
4 chunks |
+13 lines, -6 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/audio_renderer_mixer_manager.h
|
View
|
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/audio_renderer_mixer_manager.cc
|
View
|
|
2 chunks |
+23 lines, -12 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/audio_renderer_mixer_manager_unittest.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+16 lines, -6 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/media_stream_dependency_factory.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/media/render_audiosourceprovider.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/render_audiosourceprovider.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/renderer_webaudiodevice_impl.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/media/renderer_webaudiodevice_impl.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/media/webrtc_audio_device_impl.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
1 comment
|
Download
|
|
M |
content/renderer/media/webrtc_audio_device_impl.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/webrtc_audio_device_unittest.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/pepper_platform_audio_input_impl.h
|
View
|
1
|
4 chunks |
+4 lines, -3 lines |
2 comments
|
Download
|
|
M |
content/renderer/pepper/pepper_platform_audio_input_impl.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/pepper_platform_audio_output_impl.h
|
View
|
|
5 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/pepper_platform_audio_output_impl.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_view_impl.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/renderer_webkitplatformsupport_impl.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+5 lines, -1 line |
1 comment
|
Download
|
|
M |
media/audio/audio_input_device.h
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_input_device.cc
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_input_ipc.h
|
View
|
1
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_output_device.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_output_device.cc
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_output_device_unittest.cc
|
View
|
1
2
3
4
|
7 chunks |
+13 lines, -10 lines |
0 comments
|
Download
|
|
M |
media/audio/audio_output_ipc.h
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
Total messages: 27 (0 generated)
|