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

Unified Diff: modules/mediasource/SourceBuffer.idl

Issue 206333004: Update IDL to 1847 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Add new files Created 6 years, 9 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
« no previous file with comments | « modules/mediasource/MediaSource.idl ('k') | modules/mediasource/SourceBufferList.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/mediasource/SourceBuffer.idl
diff --git a/modules/mediasource/SourceBuffer.idl b/modules/mediasource/SourceBuffer.idl
index e2712bdb9ad31a46fb5bdac9d676e24e60ff0b98..1272771cac3f980fe823627b57048461783bc8d8 100644
--- a/modules/mediasource/SourceBuffer.idl
+++ b/modules/mediasource/SourceBuffer.idl
@@ -28,12 +28,21 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+enum AppendMode {
+ "segments",
+ "sequence"
+};
+
[
NoInterfaceObject,
ActiveDOMObject,
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 AppendMode mode;
+
readonly attribute boolean updating;
// Returns the time ranges buffered.
« no previous file with comments | « modules/mediasource/MediaSource.idl ('k') | modules/mediasource/SourceBufferList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698