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

Unified Diff: Source/modules/mediastream/MediaDevices.idl

Issue 1302793002: Refactor "options" argument to getUserMedia to be a dictionary (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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: Source/modules/mediastream/MediaDevices.idl
diff --git a/Source/modules/mediastream/MediaDevices.idl b/Source/modules/mediastream/MediaDevices.idl
index 38c43defda5ed47e402f0289e6a4b36de651d2fc..3052122805405ff36c47f97f68c3bc951bd4c782 100644
--- a/Source/modules/mediastream/MediaDevices.idl
+++ b/Source/modules/mediastream/MediaDevices.idl
@@ -12,5 +12,5 @@
]
interface MediaDevices {
[RuntimeEnabled=EnumerateDevices, TypeChecking=Interface, CallWith=ScriptState] Promise<sequence<MediaDeviceInfo>> enumerateDevices();
- [CallWith=ScriptState, RaisesException] Promise<MediaStream> getUserMedia(Dictionary options);
+ [CallWith=ScriptState, RaisesException] Promise<MediaStream> getUserMedia(MediaStreamConstraints options);
};

Powered by Google App Engine
This is Rietveld 408576698