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

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

Issue 16625011: Add minimal implementation of unprefixed MediaSource API that has feature parity with prefixed API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix global-constructors-listing-expected.txt Created 7 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
« no previous file with comments | « Source/modules/mediasource/SourceBufferList.cpp ('k') | Source/modules/modules.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediasource/SourceBufferList.idl
diff --git a/Source/modules/mediasource/WebKitSourceBufferList.idl b/Source/modules/mediasource/SourceBufferList.idl
similarity index 90%
copy from Source/modules/mediasource/WebKitSourceBufferList.idl
copy to Source/modules/mediasource/SourceBufferList.idl
index ba1768e44d16da585e89a5271b51319c18aec506..8c229657ccd96be40c5f6ad764a3ea51b38612f2 100644
--- a/Source/modules/mediasource/WebKitSourceBufferList.idl
+++ b/Source/modules/mediasource/SourceBufferList.idl
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2012 Google Inc. All rights reserved.
+ * Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -30,11 +30,12 @@
[
NoInterfaceObject,
- EnabledAtRuntime=webKitMediaSource,
+ EnabledAtRuntime=mediaSource,
EventTarget,
-] interface WebKitSourceBufferList {
+ CallWith=ScriptExecutionContext
+] interface SourceBufferList {
readonly attribute unsigned long length;
- getter WebKitSourceBuffer item(unsigned long index);
+ getter SourceBuffer item(unsigned long index);
// EventTarget interface
void addEventListener(DOMString type,
« no previous file with comments | « Source/modules/mediasource/SourceBufferList.cpp ('k') | Source/modules/modules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698