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

Issue 10836025: Part 1: Plumb render view ID to render host (Closed)

Created:
8 years, 4 months ago by sail
Modified:
8 years, 1 month ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, feature-media-reviews_chromium.org, Shishir
Visibility:
Public.

Description

Part 1: Plumb render view ID to render host This is part 1 of the work to add audio indicator to tabs. This CL plumbs the render view ID from the renderer to the browser. BUG=64215

Patch Set 1 #

Total comments: 20

Patch Set 2 : address review comments #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+297 lines, -163 lines) Patch
M content/browser/renderer_host/media/audio_renderer_host.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/renderer_host/media/audio_renderer_host.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/renderer_host/media/audio_renderer_host_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M content/common/media/audio_messages.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/content_renderer.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/media/audio_device_factory.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M content/renderer/media/audio_device_factory.cc View 1 2 chunks +5 lines, -3 lines 0 comments Download
M content/renderer/media/audio_message_filter.h View 2 chunks +7 lines, -16 lines 0 comments Download
M content/renderer/media/audio_message_filter.cc View 2 chunks +8 lines, -33 lines 0 comments Download
A content/renderer/media/audio_output_ipc_impl.h View 1 1 chunk +57 lines, -0 lines 2 comments Download
A content/renderer/media/audio_output_ipc_impl.cc View 1 1 chunk +54 lines, -0 lines 1 comment Download
M content/renderer/media/audio_renderer_mixer_manager.h View 1 chunk +4 lines, -2 lines 0 comments Download
M content/renderer/media/audio_renderer_mixer_manager.cc View 2 chunks +9 lines, -3 lines 0 comments Download
M content/renderer/media/audio_renderer_mixer_manager_unittest.cc View 1 4 chunks +6 lines, -3 lines 0 comments Download
M content/renderer/media/media_stream_dependency_factory.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/media_stream_dependency_factory.cc View 2 chunks +6 lines, -4 lines 0 comments Download
M content/renderer/media/media_stream_impl.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M content/renderer/media/mock_media_stream_dependency_factory.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/mock_media_stream_dependency_factory.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/peer_connection_handler_jsep_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/media/render_audiosourceprovider.h View 1 chunk +1 line, -1 line 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 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/webrtc_audio_device_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/media/webrtc_audio_device_unittest.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M content/renderer/pepper/pepper_platform_audio_output_impl.h View 1 4 chunks +5 lines, -2 lines 0 comments Download
M content/renderer/pepper/pepper_platform_audio_output_impl.cc View 1 5 chunks +9 lines, -6 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 3 chunks +54 lines, -1 line 0 comments Download
M content/renderer/renderer_webkitplatformsupport_impl.cc View 1 2 chunks +5 lines, -42 lines 0 comments Download
M media/audio/audio_output_device.h View 1 2 chunks +2 lines, -4 lines 0 comments Download
M media/audio/audio_output_device.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M media/audio/audio_output_device_unittest.cc View 1 6 chunks +18 lines, -18 lines 0 comments Download
M media/audio/audio_output_ipc.h View 1 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
sail
8 years, 4 months ago (2012-07-31 06:46:39 UTC) #1
Chris Rogers
I'm a bit concerned about the massive propagation of render view ID. It seems really ...
8 years, 4 months ago (2012-07-31 06:59:11 UTC) #2
sail
On 2012/07/31 06:59:11, Chris Rogers wrote: > I'm a bit concerned about the massive propagation ...
8 years, 4 months ago (2012-07-31 07:55:31 UTC) #3
Chris Rogers
+scherkus Aside from the terrifying propagation of render view ID, this seems very interesting. Could ...
8 years, 4 months ago (2012-07-31 08:17:06 UTC) #4
tommi (sloooow) - chröme
https://chromiumcodereview.appspot.com/10836025/diff/1/content/browser/renderer_host/media/audio_renderer_host.h File content/browser/renderer_host/media/audio_renderer_host.h (right): https://chromiumcodereview.appspot.com/10836025/diff/1/content/browser/renderer_host/media/audio_renderer_host.h#newcode130 content/browser/renderer_host/media/audio_renderer_host.h:130: void OnPlayStream(int render_view_id, int stream_id); just including the render ...
8 years, 4 months ago (2012-07-31 10:52:41 UTC) #5
sail
Thanks for the quick review. I addressed all comments except for updating input device. Currently ...
8 years, 4 months ago (2012-07-31 22:02:08 UTC) #6
sail
> Aside from the terrifying propagation of render view ID, this seems very > interesting. ...
8 years, 4 months ago (2012-07-31 22:04:58 UTC) #7
scherkus (not reviewing)
nice! I've been envisioning how this feature would be implemented for years :) to answer ...
8 years, 4 months ago (2012-07-31 22:30:19 UTC) #8
Ami GONE FROM CHROMIUM
drive-by, possibly-stupid suggestion: - AudioRendererSink takes a callback to notify interested parties about pause/play events. ...
8 years, 4 months ago (2012-07-31 23:55:03 UTC) #9
sail
On 2012/07/31 23:55:03, Ami Fischman wrote: > drive-by, possibly-stupid suggestion: > > - AudioRendererSink takes ...
8 years, 4 months ago (2012-08-01 00:02:28 UTC) #10
scherkus (not reviewing)
On 2012/07/31 23:55:03, Ami Fischman wrote: > drive-by, possibly-stupid suggestion: > > - AudioRendererSink takes ...
8 years, 4 months ago (2012-08-01 00:10:55 UTC) #11
Ami GONE FROM CHROMIUM
What I don't get is that the render_view_id is actually a routing_id, which presumably the ...
8 years, 4 months ago (2012-08-01 00:14:30 UTC) #12
sail
> I've been thinking about this on and off and my question for sail@ is ...
8 years, 4 months ago (2012-08-01 00:22:48 UTC) #13
scherkus (not reviewing)
On 2012/08/01 00:14:30, Ami Fischman wrote: > What I don't get is that the render_view_id ...
8 years, 4 months ago (2012-08-01 00:25:00 UTC) #14
Chris Rogers
On 2012/08/01 00:25:00, scherkus wrote: > On 2012/08/01 00:14:30, Ami Fischman wrote: > > What ...
8 years, 4 months ago (2012-08-01 00:47:44 UTC) #15
sail
> > The real question is (*gulp* huggggge potentially controversial tangent > ahead!) > > ...
8 years, 4 months ago (2012-08-01 17:26:36 UTC) #16
Chris Rogers
On 2012/08/01 17:26:36, sail wrote: > > > The real question is (*gulp* huggggge potentially ...
8 years, 4 months ago (2012-08-01 17:41:42 UTC) #17
sail
On 2012/08/01 17:41:42, Chris Rogers wrote: > On 2012/08/01 17:26:36, sail wrote: > > > ...
8 years, 4 months ago (2012-08-01 17:46:18 UTC) #18
scherkus (not reviewing)
On 2012/08/01 17:46:18, sail wrote: > On 2012/08/01 17:41:42, Chris Rogers wrote: > > On ...
8 years, 4 months ago (2012-08-02 16:57:16 UTC) #19
Chris Rogers
On 2012/08/02 16:57:16, scherkus wrote: > On 2012/08/01 17:46:18, sail wrote: > > On 2012/08/01 ...
8 years, 4 months ago (2012-08-02 19:30:23 UTC) #20
tommi (sloooow) - chröme
I agree as well. I'm away from work at the moment, so rubber stamp lgtm. ...
8 years, 4 months ago (2012-08-03 08:42:38 UTC) #21
scherkus (not reviewing)
LGTM w/ nits https://chromiumcodereview.appspot.com/10836025/diff/1040/content/renderer/media/audio_output_ipc_impl.cc File content/renderer/media/audio_output_ipc_impl.cc (right): https://chromiumcodereview.appspot.com/10836025/diff/1040/content/renderer/media/audio_output_ipc_impl.cc#newcode4 content/renderer/media/audio_output_ipc_impl.cc:4: // remove extra // https://chromiumcodereview.appspot.com/10836025/diff/1040/content/renderer/media/audio_output_ipc_impl.h File ...
8 years, 4 months ago (2012-08-03 21:12:52 UTC) #22
Chris Rogers
seems fine - this depends on the WebKit-side patch landing, doesn't it? Just wanted to ...
8 years, 4 months ago (2012-08-03 22:30:06 UTC) #23
sail
8 years, 4 months ago (2012-08-13 19:38:58 UTC) #24
On 2012/08/03 22:30:06, Chris Rogers wrote:
> seems fine - this depends on the WebKit-side patch landing, doesn't it?  Just
> wanted to make sure things are landed in the right order :)

Just a quick stats update. I'm currently stuck in Mac UI land right now. My plan
is to get back to this feature within 2 weeks and hopefully land it in time for
M23. Thanks.

Powered by Google App Engine
This is Rietveld 408576698