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

Unified Diff: modules/mediasource/SourceBuffer.idl

Issue 540533002: Roll IDL to Dartium37 (r181268) (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 years, 3 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/URLMediaSource.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 1272771cac3f980fe823627b57048461783bc8d8..7827d60d74bfe8f2e3e8df7744909d2bfdaecc16 100644
--- a/modules/mediasource/SourceBuffer.idl
+++ b/modules/mediasource/SourceBuffer.idl
@@ -28,15 +28,18 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#idl-def-SourceBuffer
+
enum AppendMode {
"segments",
"sequence"
};
[
- NoInterfaceObject,
ActiveDOMObject,
- RuntimeEnabled=MediaSource
+ NoInterfaceObject,
+ RuntimeEnabled=MediaSource,
+ TypeChecking=Interface|Nullable|Unrestricted,
] interface SourceBuffer : EventTarget {
// Gets or sets the AppendMode.
@@ -55,7 +58,7 @@ enum AppendMode {
[RaisesException=Setter] attribute double appendWindowStart;
// Presentation timestamp for the end of append window.
- [RaisesException=Setter] attribute double appendWindowEnd;
+ [RaisesException=Setter] attribute unrestricted double appendWindowEnd;
// Append segment data.
[RaisesException] void appendBuffer(ArrayBuffer data);
@@ -65,6 +68,8 @@ enum AppendMode {
// Abort the current segment append sequence.
[RaisesException] void abort();
+ // Pending W3C bug: "Change SourceBuffer.remove() end parameter to 'unrestricted double'",
+ // https://www.w3.org/Bugs/Public/show_bug.cgi?id=25518
[RaisesException] void remove(double start, double end);
};
« no previous file with comments | « modules/mediasource/MediaSource.idl ('k') | modules/mediasource/URLMediaSource.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698