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

Unified Diff: Source/modules/mediastream/NavigatorMediaStream.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/NavigatorMediaStream.idl
diff --git a/Source/modules/mediastream/NavigatorMediaStream.idl b/Source/modules/mediastream/NavigatorMediaStream.idl
index f8c0199d1c9cd14bde42d04371567282672020ed..9453f9fc5563ae88fee4ea85dbb63524be6d6067 100644
--- a/Source/modules/mediastream/NavigatorMediaStream.idl
+++ b/Source/modules/mediastream/NavigatorMediaStream.idl
@@ -18,7 +18,7 @@
*/
partial interface Navigator {
- [RaisesException] void webkitGetUserMedia(Dictionary options,
+ [RaisesException] void webkitGetUserMedia(MediaStreamConstraints options,
NavigatorUserMediaSuccessCallback successCallback,
NavigatorUserMediaErrorCallback errorCallback);
};

Powered by Google App Engine
This is Rietveld 408576698