| Index: third_party/WebCore/Modules/mediasource/SourceBufferList.idl
|
| diff --git a/third_party/WebCore/workers/AbstractWorker.idl b/third_party/WebCore/Modules/mediasource/SourceBufferList.idl
|
| similarity index 81%
|
| copy from third_party/WebCore/workers/AbstractWorker.idl
|
| copy to third_party/WebCore/Modules/mediasource/SourceBufferList.idl
|
| index 3c90d1ed797bed8140321fcbf65e7a8be3b1c479..39eddcaa8f544a44afceddbf889af23c0baf02d4 100644
|
| --- a/third_party/WebCore/workers/AbstractWorker.idl
|
| +++ b/third_party/WebCore/Modules/mediasource/SourceBufferList.idl
|
| @@ -1,6 +1,5 @@
|
| /*
|
| - * Copyright (C) 2009 Google Inc. All rights reserved.
|
| - * Copyright (C) 2011 Apple Inc. All rights reserved.
|
| + * Copyright (C) 2012 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
|
| @@ -28,25 +27,27 @@
|
| * (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 threads {
|
| +
|
| +module html {
|
|
|
| interface [
|
| - Conditional=WORKERS,
|
| - ActiveDOMObject,
|
| - JSCustomToJSObject,
|
| - EventTarget
|
| - ] AbstractWorker {
|
| -
|
| - attribute EventListener onerror;
|
| + Conditional=MEDIA_SOURCE,
|
| + V8EnabledAtRuntime=mediaSource,
|
| + IndexedGetter,
|
| + EventTarget,
|
| + CallWith=ScriptExecutionContext
|
| + ] SourceBufferList {
|
| + readonly attribute unsigned long length;
|
| + SourceBuffer item(in unsigned long index);
|
|
|
| + // EventTarget interface
|
| void addEventListener(in DOMString type,
|
| in EventListener listener,
|
| in [Optional] boolean useCapture);
|
| void removeEventListener(in DOMString type,
|
| in EventListener listener,
|
| in [Optional] boolean useCapture);
|
| - boolean dispatchEvent(in Event evt)
|
| + boolean dispatchEvent(in Event event)
|
| raises(EventException);
|
| };
|
|
|
|
|