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

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: 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..324302504798eab640e04bf898925856eec7327b 100644
--- a/content/browser/resources/media/manager.js
+++ b/content/browser/resources/media/manager.js
@@ -109,7 +109,16 @@ 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);
}
+
};
return Manager;

Powered by Google App Engine
This is Rietveld 408576698