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

Unified Diff: Source/modules/mediasource/SourceBuffer.idl

Issue 130523002: Preliminary work for unprefixed MSE SourceBuffer.mode manipulation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Prefix public Blink API AppendMode enum values with AppendMode Created 6 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
Index: Source/modules/mediasource/SourceBuffer.idl
diff --git a/Source/modules/mediasource/SourceBuffer.idl b/Source/modules/mediasource/SourceBuffer.idl
index e2712bdb9ad31a46fb5bdac9d676e24e60ff0b98..07ce85b082770e0b76f629b3dc7159bb5590fb4d 100644
--- a/Source/modules/mediasource/SourceBuffer.idl
+++ b/Source/modules/mediasource/SourceBuffer.idl
@@ -34,6 +34,10 @@
RuntimeEnabled=MediaSource
] interface SourceBuffer : EventTarget {
+ // Gets or sets the AppendMode.
+ // FIXME: Remove MediaSourceExperimental once mode attribute is implemented and stabilized. See http://crbug.com/249422.
+ [RaisesException=Setter, RuntimeEnabled=MediaSourceExperimental] attribute DOMString mode;
+
readonly attribute boolean updating;
// Returns the time ranges buffered.

Powered by Google App Engine
This is Rietveld 408576698