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

Unified Diff: third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.idl

Issue 1507183002: MediaRecorder: update to spec (2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased to http://crrev.com/1497883002 (just landed) Created 5 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: third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.idl
diff --git a/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.idl b/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.idl
index add92ddccd219e874cec46c3b3b0822eae72f4ee..67c9f6b0f56d712fc45e113a37ebec28b1a408ee 100644
--- a/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.idl
+++ b/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.idl
@@ -9,8 +9,7 @@ enum RecordingState { "inactive", "recording", "paused" };
[
GarbageCollected,
ActiveDOMObject,
- // TODO(mcasas): consider changing |mimeType| to a dictionary with said key, see https://github.com/w3c/mediacapture-record/issues/19
- Constructor(MediaStream stream, optional DOMString mimeType),
+ Constructor(MediaStream stream, optional MediaRecorderOptions options),
ConstructorCallWith=ExecutionContext,
RaisesException=Constructor,
RuntimeEnabled=MediaRecorder,
@@ -33,5 +32,5 @@ enum RecordingState { "inactive", "recording", "paused" };
[RaisesException] void resume();
[RaisesException] void requestData();
- static DOMString canRecordMimeType(DOMString mimeType);
+ static boolean isTypeSupported(DOMString type);
};

Powered by Google App Engine
This is Rietveld 408576698