| Index: third_party/WebCore/Modules/mediasource/SourceBuffer.idl
|
| diff --git a/third_party/WebCore/html/shadow/HTMLShadowElement.idl b/third_party/WebCore/Modules/mediasource/SourceBuffer.idl
|
| similarity index 79%
|
| copy from third_party/WebCore/html/shadow/HTMLShadowElement.idl
|
| copy to third_party/WebCore/Modules/mediasource/SourceBuffer.idl
|
| index 94facb7bea44be8b703058505b0ee74687f4fe34..412b9cb618f55015527b3d69af296f69f7bd9f52 100644
|
| --- a/third_party/WebCore/html/shadow/HTMLShadowElement.idl
|
| +++ b/third_party/WebCore/Modules/mediasource/SourceBuffer.idl
|
| @@ -27,13 +27,23 @@
|
| * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
| -
|
| +
|
| module html {
|
|
|
| interface [
|
| - Conditional=SHADOW_DOM,
|
| - V8EnabledAtRuntime=shadowDOM
|
| - ] HTMLShadowElement : HTMLElement {
|
| + Conditional=MEDIA_SOURCE,
|
| + V8EnabledAtRuntime=mediaSource
|
| + ] SourceBuffer {
|
| +
|
| + // Returns the time ranges buffered.
|
| + readonly attribute TimeRanges buffered
|
| + getter raises(DOMException);
|
| +
|
| + // Append segment data.
|
| + void append(in Uint8Array data) raises (DOMException);
|
| +
|
| + // Abort the current segment append sequence.
|
| + void abort() raises (DOMException);
|
| };
|
|
|
| }
|
|
|