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

Unified Diff: content/browser/resources/media/manager.js

Issue 643343004: Video Capture Capabilities available on chrome://media-internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Style fix in unit test Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/resources/media/manager.js
diff --git a/content/browser/resources/media/manager.js b/content/browser/resources/media/manager.js
index 80cd03273b73c757addca182b580f9d1d522767d..c2fd9762573a8ea8a16b0d51042b0c76d339b863 100644
--- a/content/browser/resources/media/manager.js
+++ b/content/browser/resources/media/manager.js
@@ -109,6 +109,13 @@ var Manager = (function() {
this.players_[id],
key,
value);
+ },
+
+ updateVideoCaptureCapabilities: function(videoCaptureCapabilities) {
+ // The keys of each device to be shown in order of appearance.
+ var videoCaptureDeviceKeys = ['id','name','formats','captureApi'];
+ this.clientRenderer_.redrawVideoCaptureCapabilities(
+ videoCaptureCapabilities, videoCaptureDeviceKeys);
}
};

Powered by Google App Engine
This is Rietveld 408576698