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

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

Issue 2045193003: Make ready to unprefix getUserMedia, and counters (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another counter renumbering Created 4 years, 6 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: third_party/WebKit/Source/modules/mediastream/MediaDevices.idl
diff --git a/third_party/WebKit/Source/modules/mediastream/MediaDevices.idl b/third_party/WebKit/Source/modules/mediastream/MediaDevices.idl
index cd39465403f92ef233932b88e42995a99563a73d..48437fc2f0c9e3626017f682460c2d311d0a8d43 100644
--- a/third_party/WebKit/Source/modules/mediastream/MediaDevices.idl
+++ b/third_party/WebKit/Source/modules/mediastream/MediaDevices.idl
@@ -15,6 +15,10 @@
interface MediaDevices : EventTarget {
[CallWith=ScriptState, MeasureAs=MediaDevicesEnumerateDevices] Promise<sequence<MediaDeviceInfo>> enumerateDevices();
[RuntimeEnabled=MediaConstraints] MediaTrackSupportedConstraints getSupportedConstraints();
- [RuntimeEnabled=GetUserMedia, CallWith=ScriptState, RaisesException] Promise<MediaStream> getUserMedia(MediaStreamConstraints options);
+ [RuntimeEnabled=GetUserMedia,
+ CallWith=ScriptState,
+ RaisesException,
+ MeasureAs=GetUserMediaPromise
+ ] Promise<MediaStream> getUserMedia(MediaStreamConstraints options);
[RuntimeEnabled=OnDeviceChange] attribute EventHandler ondevicechange;
};

Powered by Google App Engine
This is Rietveld 408576698