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

Issue 11573066: Add a method to tab_utils.h to find out whether a tab is playing audio. (Closed)

Created:
8 years ago by Bernhard Bauer
Modified:
7 years, 10 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, jam, darin-cc_chromium.org, cpu_(ooo_6.6-7.5)
Visibility:
Public.

Description

Add a method to tab_utils.h to find out whether a tab is playing audio. BUG=3541 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182364

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : . #

Patch Set 4 : fix #

Total comments: 16

Patch Set 5 : review/rewrite #

Total comments: 6

Patch Set 6 : review #

Total comments: 2

Patch Set 7 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+222 lines, -3 lines) Patch
A chrome/browser/media/audio_stream_indicator.h View 1 2 3 4 5 1 chunk +56 lines, -0 lines 0 comments Download
A chrome/browser/media/audio_stream_indicator.cc View 1 2 3 4 5 6 1 chunk +79 lines, -0 lines 0 comments Download
M chrome/browser/media/media_capture_devices_dispatcher.h View 1 2 3 4 5 6 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/media/media_capture_devices_dispatcher.cc View 1 2 3 4 5 6 4 chunks +16 lines, -1 line 0 comments Download
M chrome/browser/ui/tabs/tab_utils.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/tabs/tab_utils.cc View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/media/audio_renderer_host.cc View 1 2 3 4 5 7 chunks +37 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/mock_media_observer.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/browser/media_observer.h View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Bernhard Bauer
Please review.
8 years ago (2012-12-18 21:09:56 UTC) #1
Bernhard Bauer
Adding OWNERS: Scott (chrome/, specifically chrome/browser/tabs/ui/) John (content/)
8 years ago (2012-12-18 22:23:00 UTC) #2
sky
LGTM
8 years ago (2012-12-18 23:38:02 UTC) #3
miu
lgtm lgtm, assuming comments are addressed. BTW--This is very similar to an earlier attempt (which ...
8 years ago (2012-12-19 00:49:08 UTC) #4
jam
lgtm
8 years ago (2012-12-19 01:37:16 UTC) #5
tommi (sloooow) - chröme
https://codereview.chromium.org/11573066/diff/10001/chrome/browser/media/audio_stream_indicator.cc File chrome/browser/media/audio_stream_indicator.cc (right): https://codereview.chromium.org/11573066/diff/10001/chrome/browser/media/audio_stream_indicator.cc#newcode22 chrome/browser/media/audio_stream_indicator.cc:22: int render_view_id, fix indentation throughout. https://codereview.chromium.org/11573066/diff/10001/chrome/browser/media/audio_stream_indicator.h File chrome/browser/media/audio_stream_indicator.h (right): ...
8 years ago (2012-12-19 11:47:29 UTC) #6
James Cook
This patch would be helpful for me on Chrome OS to deal with audio streams ...
7 years, 10 months ago (2013-01-30 17:13:12 UTC) #7
miu
BTW--Should the efforts in chrome/browser/media/audio_stream_indicator.* be somehow merged in with the UI code in chrome/browser/media/media_stream_capture_indicator.*? ...
7 years, 10 months ago (2013-01-30 23:42:20 UTC) #8
Bernhard Bauer
On 2013/01/30 17:13:12, James Cook (Chromium) wrote: > This patch would be helpful for me ...
7 years, 10 months ago (2013-02-04 21:23:45 UTC) #9
Bernhard Bauer
Okay, I rewrote the CL. John, could you take another look? https://codereview.chromium.org/11573066/diff/10001/chrome/browser/media/audio_stream_indicator.cc File chrome/browser/media/audio_stream_indicator.cc (right): ...
7 years, 10 months ago (2013-02-05 18:45:18 UTC) #10
tommi (sloooow) - chröme
lgtm
7 years, 10 months ago (2013-02-05 21:24:51 UTC) #11
miu
A few things to fix first... https://codereview.chromium.org/11573066/diff/19001/content/browser/renderer_host/media/audio_renderer_host.cc File content/browser/renderer_host/media/audio_renderer_host.cc (right): https://codereview.chromium.org/11573066/diff/19001/content/browser/renderer_host/media/audio_renderer_host.cc#newcode388 content/browser/renderer_host/media/audio_renderer_host.cc:388: render_process_id_, entry->render_view_id, true); ...
7 years, 10 months ago (2013-02-05 23:18:25 UTC) #12
jam
lgtm
7 years, 10 months ago (2013-02-06 04:42:35 UTC) #13
cpu_(ooo_6.6-7.5)
imho the change looks good, my biggest concern is testing. Maybe there are already tests ...
7 years, 10 months ago (2013-02-06 22:56:58 UTC) #14
miu
On 2013/02/06 22:56:58, cpu wrote: > Note that we don't want a UI level test, ...
7 years, 10 months ago (2013-02-06 23:01:16 UTC) #15
Bernhard Bauer
https://codereview.chromium.org/11573066/diff/19001/content/browser/renderer_host/media/audio_renderer_host.cc File content/browser/renderer_host/media/audio_renderer_host.cc (right): https://codereview.chromium.org/11573066/diff/19001/content/browser/renderer_host/media/audio_renderer_host.cc#newcode388 content/browser/renderer_host/media/audio_renderer_host.cc:388: render_process_id_, entry->render_view_id, true); On 2013/02/05 23:18:25, Yuri wrote: > ...
7 years, 10 months ago (2013-02-08 16:44:14 UTC) #16
Bernhard Bauer
Yuri, friendly ping? :)
7 years, 10 months ago (2013-02-11 20:12:40 UTC) #17
miu
lgtm One nit... https://codereview.chromium.org/11573066/diff/25002/chrome/browser/media/audio_stream_indicator.cc File chrome/browser/media/audio_stream_indicator.cc (right): https://codereview.chromium.org/11573066/diff/25002/chrome/browser/media/audio_stream_indicator.cc#newcode60 chrome/browser/media/audio_stream_indicator.cc:60: RenderViewId id(render_process_id, render_view_id); nit: Can you ...
7 years, 10 months ago (2013-02-11 20:51:47 UTC) #18
Bernhard Bauer
https://codereview.chromium.org/11573066/diff/25002/chrome/browser/media/audio_stream_indicator.cc File chrome/browser/media/audio_stream_indicator.cc (right): https://codereview.chromium.org/11573066/diff/25002/chrome/browser/media/audio_stream_indicator.cc#newcode60 chrome/browser/media/audio_stream_indicator.cc:60: RenderViewId id(render_process_id, render_view_id); On 2013/02/11 20:51:47, Yuri wrote: > ...
7 years, 10 months ago (2013-02-12 18:06:26 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/11573066/31002
7 years, 10 months ago (2013-02-12 18:07:24 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/11573066/31002
7 years, 10 months ago (2013-02-13 19:27:47 UTC) #21
commit-bot: I haz the power
7 years, 10 months ago (2013-02-14 01:11:27 UTC) #22
Message was sent while issue was closed.
Change committed as 182364

Powered by Google App Engine
This is Rietveld 408576698