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

Issue 10168008: Show camera and microphone status indicators. (Closed)

Created:
8 years, 8 months ago by no longer working on chromium
Modified:
8 years, 7 months ago
CC:
chromium-reviews, mflodman_chromium_OOO, MAD, (unused - use chromium)
Visibility:
Public.

Description

Show camera and microphone status indicators. Some cameras do not have a visual indicator light. Some implementations of this visual indicator light can be programatically bypassed. Therefore, we are planning to add an on screen visual indicator that mimics the Speech Recognition implementation. Chrome-UI-Leads have given us a red LED type icon to add to the windows / mac / linux system trays whenever getUserMedia is used. BUG=120126, 123767 TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=135198

Patch Set 1 #

Patch Set 2 : added indicator class #

Patch Set 3 : ready for review #

Patch Set 4 : removed debugging code. #

Total comments: 16

Patch Set 5 : addressed Tommi's comments. #

Total comments: 40

Patch Set 6 : Addressed the comments, merged with 10161024, move the code to MediaObserver #

Patch Set 7 : addressed the rest of the comments from MAD and Nico #

Total comments: 39

Patch Set 8 : addressed Tommi's comments #

Patch Set 9 : addressed Tommi's comments, displayed the title of the tab on the tray icon menu #

Total comments: 16

Patch Set 10 : rebased and addressed the new comments from Tommi #

Patch Set 11 : added back the media_stream_capture_indicator #

Total comments: 4

Patch Set 12 : addressed nico's comments #

Patch Set 13 : fixed the content_unittests #

Patch Set 14 : updated the media_stream_dispatcher_unittest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+667 lines, -23 lines) Patch
M chrome/app/chrome_command_ids.h View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 2 chunks +21 lines, -0 lines 0 comments Download
M chrome/app/theme/theme_resources.grd View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/media/media_internals.h View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/media/media_internals.cc View 1 2 3 4 5 6 7 8 9 2 chunks +23 lines, -0 lines 0 comments Download
A chrome/browser/media/media_stream_capture_indicator.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +132 lines, -0 lines 0 comments Download
A chrome/browser/media/media_stream_capture_indicator.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +312 lines, -0 lines 0 comments Download
M chrome/browser/status_icons/desktop_notification_balloon.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 11 chunks +47 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/media_stream_manager.h View 1 2 3 4 5 1 chunk +7 lines, -3 lines 0 comments Download
M content/browser/renderer_host/media/media_stream_manager.cc View 1 2 3 4 5 6 7 8 9 11 chunks +82 lines, -18 lines 0 comments Download
M content/browser/renderer_host/media/mock_media_observer.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -0 lines 0 comments Download
M content/public/browser/media_observer.h View 1 2 3 4 5 6 7 8 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
no longer working on chromium
please take a look.
8 years, 8 months ago (2012-04-24 10:14:43 UTC) #1
tommi (sloooow) - chröme
http://codereview.chromium.org/10168008/diff/15001/chrome/browser/media/media_stream_capture_indicator.cc File chrome/browser/media/media_stream_capture_indicator.cc (right): http://codereview.chromium.org/10168008/diff/15001/chrome/browser/media/media_stream_capture_indicator.cc#newcode27 chrome/browser/media/media_stream_capture_indicator.cc:27: return; uhm... this doesn't make any sense :) http://codereview.chromium.org/10168008/diff/15001/chrome/browser/media/media_stream_capture_indicator.cc#newcode64 ...
8 years, 8 months ago (2012-04-24 11:36:17 UTC) #2
no longer working on chromium
I addressed Tommi's first round's comments. Mad and Nico, could you please review this CL? ...
8 years, 8 months ago (2012-04-25 13:52:50 UTC) #3
MAD
Here are my comments... Let me know if some are not clear... BYE MAD https://chromiumcodereview.appspot.com/10168008/diff/21006/chrome/app/generated_resources.grd ...
8 years, 8 months ago (2012-04-25 15:34:53 UTC) #4
Nico
I only skimmed. Looks like a good CL, so I think with MAD's comments addressed ...
8 years, 8 months ago (2012-04-25 15:52:51 UTC) #5
no longer working on chromium
Thanks Mad and Nico. I think I have addressed all the comments from Mad and ...
8 years, 7 months ago (2012-04-30 09:59:38 UTC) #6
no longer working on chromium
Added John to the reviewer list. Hi John, This CL is a follow-up to mflodman's ...
8 years, 7 months ago (2012-04-30 10:08:07 UTC) #7
tommi (sloooow) - chröme
http://codereview.chromium.org/10168008/diff/39003/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/10168008/diff/39003/chrome/app/generated_resources.grd#newcode15757 chrome/app/generated_resources.grd:15757: + <message name="IDS_MEDIA_STREAM_STATUS_TRAY_ITEM" desc="URL to display in the MediaStrem ...
8 years, 7 months ago (2012-04-30 10:57:07 UTC) #8
no longer working on chromium
http://codereview.chromium.org/10168008/diff/39003/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/10168008/diff/39003/chrome/app/generated_resources.grd#newcode15757 chrome/app/generated_resources.grd:15757: + <message name="IDS_MEDIA_STREAM_STATUS_TRAY_ITEM" desc="URL to display in the MediaStrem ...
8 years, 7 months ago (2012-04-30 13:12:54 UTC) #9
tommi (sloooow) - chröme
http://codereview.chromium.org/10168008/diff/39003/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/10168008/diff/39003/chrome/app/generated_resources.grd#newcode15757 chrome/app/generated_resources.grd:15757: + <message name="IDS_MEDIA_STREAM_STATUS_TRAY_ITEM" desc="URL to display in the MediaStrem ...
8 years, 7 months ago (2012-04-30 13:42:45 UTC) #10
jam
content lgtm
8 years, 7 months ago (2012-04-30 16:09:00 UTC) #11
no longer working on chromium
Could you please take another look? Thanks, BR, /SX
8 years, 7 months ago (2012-05-02 11:18:11 UTC) #12
tommi (sloooow) - chröme
http://codereview.chromium.org/10168008/diff/47003/chrome/app/chrome_command_ids.h File chrome/app/chrome_command_ids.h (right): http://codereview.chromium.org/10168008/diff/47003/chrome/app/chrome_command_ids.h#newcode308 chrome/app/chrome_command_ids.h:308: #define IDC_MEDIA_CONTEXT_MEDIA_STREAM_CAPTURE_LIST 51301 should this be IDC_MEDIA_STREAM_CAPTURE_LIST? http://codereview.chromium.org/10168008/diff/47003/chrome/browser/media/media_internals.cc File ...
8 years, 7 months ago (2012-05-02 12:10:55 UTC) #13
no longer working on chromium
http://codereview.chromium.org/10168008/diff/47003/chrome/app/chrome_command_ids.h File chrome/app/chrome_command_ids.h (right): http://codereview.chromium.org/10168008/diff/47003/chrome/app/chrome_command_ids.h#newcode308 chrome/app/chrome_command_ids.h:308: #define IDC_MEDIA_CONTEXT_MEDIA_STREAM_CAPTURE_LIST 51301 On 2012/05/02 12:10:55, tommi wrote: > ...
8 years, 7 months ago (2012-05-02 13:24:29 UTC) #14
Nico
LGTM A test would be nice. http://codereview.chromium.org/10168008/diff/47006/chrome/browser/media/media_stream_capture_indicator.h File chrome/browser/media/media_stream_capture_indicator.h (right): http://codereview.chromium.org/10168008/diff/47006/chrome/browser/media/media_stream_capture_indicator.h#newcode20 chrome/browser/media/media_stream_capture_indicator.h:20: // This indicator ...
8 years, 7 months ago (2012-05-02 16:29:56 UTC) #15
tommi (sloooow) - chröme
lgtm
8 years, 7 months ago (2012-05-02 16:30:46 UTC) #16
no longer working on chromium
To Nico, A test is definitely great. I will try to add it as a ...
8 years, 7 months ago (2012-05-02 18:00:34 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/10168008/87003
8 years, 7 months ago (2012-05-03 17:44:17 UTC) #18
commit-bot: I haz the power
8 years, 7 months ago (2012-05-03 20:02:06 UTC) #19
Change committed as 135198

Powered by Google App Engine
This is Rietveld 408576698