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

Unified Diff: chrome/renderer/resources/extensions/desktop_capture_custom_bindings.js

Issue 2547633002: Desktop Capture API: Pass Audio Selection Information To Javascript (Closed)
Patch Set: Browser Test Case Created 4 years 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: chrome/renderer/resources/extensions/desktop_capture_custom_bindings.js
diff --git a/chrome/renderer/resources/extensions/desktop_capture_custom_bindings.js b/chrome/renderer/resources/extensions/desktop_capture_custom_bindings.js
index d67af2e60fd28da83e6a4cd9ac8e6437ef64c229..69840a5682aae10ce4b9382e5747a92f9b02ff76 100644
--- a/chrome/renderer/resources/extensions/desktop_capture_custom_bindings.js
+++ b/chrome/renderer/resources/extensions/desktop_capture_custom_bindings.js
@@ -13,11 +13,11 @@ binding.registerCustomHook(function(bindingsAPI) {
var pendingRequests = {};
- function onRequestResult(id, result) {
+ function onRequestResult(id, result, options) {
if (id in pendingRequests) {
var callback = pendingRequests[id];
delete pendingRequests[id];
- callback(result);
+ callback(result, options);
}
}

Powered by Google App Engine
This is Rietveld 408576698