|
Begin adding support for tab mirroring via the MediaStream audio/video capturing
framework. Expanded the scope of the content::MediaStreamDeviceType enum to
support the new concept of "internal capture devices." From there, many modules
were tweaked to account for the new concept. In some cases, significant new
functionality was added (described below). In this change, tab mirroring audio
and video capture devices have been introduced, but stubbed-out.
The following proposal provides more backrgound on this and the overall
motivation for the code changes at-hand:
http://dev.chromium.org/developers/design-documents/extensions/proposed-changes/apis-under-development/webrtc-tab-content-capture
Significant changes:
1. content/common/media and content/public/common -- a) Expand
content::MediaStreamDeviceType enum; b) Update media_stream::StreamOptions
so that extension API bindings can ask for any of the MediaStreamTypes.
2. content/browser/renderer_host/media -- Minor refactoring: MediaStreamManager
handles all MediaStreamDeviceTypes. Only supports EnumerateDevices and OpenDevice for
physical device types. Add new GenerateStreamForDevice() API.
3. chrome/browser/media and chrome/browser/ui -- Enhance "Allow/Deny and
device selection" infobar to handle all MediaStreamDeviceTypes.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=155925
Total comments: 18
Total comments: 34
Total comments: 4
Total comments: 17
Total comments: 21
Total comments: 12
Total comments: 45
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1034 lines, -660 lines) |
Patch |
 |
M |
chrome/browser/media/media_stream_capture_indicator.cc
|
View
|
1
2
|
4 chunks |
+11 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media/media_stream_devices_controller.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+29 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media/media_stream_devices_controller.cc
|
View
|
1
2
3
4
5
6
7
8
|
8 chunks |
+109 lines, -84 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media/media_stream_devices_menu_model.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media/media_stream_devices_menu_model.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+25 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/infobars/media_stream_infobar_controller.mm
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/extensions/shell_window.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+21 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/gtk/infobars/media_stream_infobar_gtk.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/media_stream_infobar_delegate.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/media_stream_infobar_delegate.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/infobars/media_stream_infobar.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/browser_main_loop.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/audio_input_device_manager.h
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+7 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/audio_input_device_manager.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
7 chunks |
+27 lines, -24 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/audio_input_device_manager_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
17 chunks |
+24 lines, -44 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_device_settings.cc
|
View
|
1
2
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_device_settings_unittest.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_dispatcher_host.h
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_dispatcher_host.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+30 lines, -4 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
|
4 chunks |
+37 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_manager.h
|
View
|
1
2
3
4
5
6
7
8
9
|
8 chunks |
+28 lines, -16 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_manager.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
25 chunks |
+260 lines, -223 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_provider.h
|
View
|
|
3 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_requester.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/video_capture_host.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/video_capture_host_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+4 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/video_capture_manager.h
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+15 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/video_capture_manager.cc
|
View
|
1
2
3
4
5
6
7
8
|
15 chunks |
+92 lines, -58 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/video_capture_manager_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
 |
M |
content/common/media/media_stream_messages.h
|
View
|
1
2
3
4
5
|
2 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/common/media/media_stream_options.h
|
View
|
1
2
3
4
|
1 chunk |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/common/media/media_stream_options.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+24 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/public/common/media_stream_request.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+16 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/public/common/media_stream_request.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_dispatcher.h
|
View
|
1
2
3
4
5
6
|
4 chunks |
+13 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_dispatcher.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+26 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_dispatcher_unittest.cc
|
View
|
1
2
3
4
5
6
|
8 chunks |
+97 lines, -23 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/mock_media_stream_dispatcher.h
|
View
|
1
2
3
4
5
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/mock_media_stream_dispatcher.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+39 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_device_enumeration_event_handler.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/test/webrtc_audio_device_test.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -10 lines |
0 comments
|
Download
|
Total messages: 28 (0 generated)
|