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

Side by Side Diff: third_party/WebKit/Source/modules/mediasource/SourceBuffer.idl

Issue 1805843002: [v8 gc] Introduce a base class for all objects that can have pending activity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 4 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 18 matching lines...) Expand all
29 */ 29 */
30 30
31 // https://www.w3.org/TR/media-source/#idl-def-SourceBuffer 31 // https://www.w3.org/TR/media-source/#idl-def-SourceBuffer
32 32
33 enum AppendMode { 33 enum AppendMode {
34 "segments", 34 "segments",
35 "sequence" 35 "sequence"
36 }; 36 };
37 37
38 [ 38 [
39 ActiveScriptWrappable,
39 DependentLifetime, 40 DependentLifetime,
40 ] interface SourceBuffer : EventTarget { 41 ] interface SourceBuffer : EventTarget {
41 42
42 // Gets or sets the AppendMode. 43 // Gets or sets the AppendMode.
43 [RaisesException=Setter] attribute AppendMode mode; 44 [RaisesException=Setter] attribute AppendMode mode;
44 45
45 readonly attribute boolean updating; 46 readonly attribute boolean updating;
46 47
47 // Returns the time ranges buffered. 48 // Returns the time ranges buffered.
48 [RaisesException=Getter] readonly attribute TimeRanges buffered; 49 [RaisesException=Getter] readonly attribute TimeRanges buffered;
(...skipping 14 matching lines...) Expand all
63 [RaisesException, RuntimeEnabled=ExperimentalStream] void appendStream(Strea m stream, optional unsigned long long maxSize); 64 [RaisesException, RuntimeEnabled=ExperimentalStream] void appendStream(Strea m stream, optional unsigned long long maxSize);
64 65
65 // Abort the current segment append sequence. 66 // Abort the current segment append sequence.
66 [RaisesException] void abort(); 67 [RaisesException] void abort();
67 [RaisesException] void remove(double start, unrestricted double end); 68 [RaisesException] void remove(double start, unrestricted double end);
68 69
69 // Gets or sets the TrackDefaultList this SourceBuffer may consult during 70 // Gets or sets the TrackDefaultList this SourceBuffer may consult during
70 // the initialization segment algorithm. 71 // the initialization segment algorithm.
71 [RaisesException=Setter, RuntimeEnabled=MediaSourceExperimental] attribute T rackDefaultList trackDefaults; 72 [RaisesException=Setter, RuntimeEnabled=MediaSourceExperimental] attribute T rackDefaultList trackDefaults;
72 }; 73 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698