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

Unified Diff: chrome/common/extensions/api/desktop_capture.json

Issue 1644073002: Desktop Share Audio User Permission (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/desktop_capture.json
diff --git a/chrome/common/extensions/api/desktop_capture.json b/chrome/common/extensions/api/desktop_capture.json
index 965b9754636ec2e13f00c98a671d41bc6f81b795..f7d996ef6c7455ff07dd23abcd45598dad764ee9 100644
--- a/chrome/common/extensions/api/desktop_capture.json
+++ b/chrome/common/extensions/api/desktop_capture.json
@@ -33,6 +33,12 @@
"description": "Optional tab for which the stream is created. If not specified then the resulting stream can be used only by the calling extension. The stream can only be used by frames in the given tab whose security origin matches <code>tab.url</code>."
},
{
+ "type": "boolean",
+ "name": "request_audio_permission",
Ken Rockot(use gerrit already) 2016/01/28 19:25:54 Proper naming scheme for object fields would be re
qiangchen 2016/02/02 16:36:42 N/A now. Look at Patch 3's json file for new API c
+ "optional": true,
+ "description": "If set true, the picker window will ask user's permission for audio sharing; otherwise, picker window will not ask, and we defaults to denying audio sharing."
+ },
+ {
"type": "function",
"name": "callback",
"parameters": [
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698