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

Unified Diff: third_party/WebCore/Modules/mediasource/SourceBufferList.idl

Issue 10837033: Roll IDL to multivm@733 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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
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);
};

Powered by Google App Engine
This is Rietveld 408576698