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

Unified Diff: third_party/WebCore/Modules/mediastream/RTCPeerConnection.idl

Issue 10825350: Roll IDL to multivm@762 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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/mediastream/RTCPeerConnection.idl
diff --git a/third_party/WebCore/page/EventSource.idl b/third_party/WebCore/Modules/mediastream/RTCPeerConnection.idl
similarity index 68%
copy from third_party/WebCore/page/EventSource.idl
copy to third_party/WebCore/Modules/mediastream/RTCPeerConnection.idl
index 48df3ebe8b85c4b45a29eabd701cf8df284cea7d..44ad7235be4a3837e50800b09dcadf934b24c855 100644
--- a/third_party/WebCore/page/EventSource.idl
+++ b/third_party/WebCore/Modules/mediastream/RTCPeerConnection.idl
@@ -1,6 +1,5 @@
/*
- * Copyright (C) 2009 Ericsson AB. All rights reserved.
- * Copyright (C) 2010, 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
@@ -12,7 +11,7 @@
* notice, this list of conditions and the following disclaimer
* in the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name of Ericsson nor the names of its contributors
+ * 3. Neither the name of Google Inc. nor the names of its contributors
* may be used to endorse or promote products derived from this
* software without specific prior written permission.
*
@@ -29,32 +28,16 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-module window {
+module mediastream {
interface [
+ Conditional=MEDIA_STREAM,
ActiveDOMObject,
- Constructor(in DOMString scriptUrl),
- CallWith=ScriptExecutionContext,
+ Constructor(in Dictionary rtcICEServers, in [Optional=DefaultIsUndefined] Dictionary mediaConstraints),
ConstructorRaisesException,
- EventTarget,
- JSNoStaticTables
- ] EventSource {
-
- readonly attribute DOMString URL; // Lowercased .url is the one in the spec, but leaving .URL for compatibility reasons.
- readonly attribute DOMString url;
-
- // ready state
- const unsigned short CONNECTING = 0;
- const unsigned short OPEN = 1;
- const unsigned short CLOSED = 2;
- readonly attribute unsigned short readyState;
-
- // networking
- attribute EventListener onopen;
- attribute EventListener onmessage;
- attribute EventListener onerror;
- void close();
-
+ CallWith=ScriptExecutionContext,
+ EventTarget
+ ] RTCPeerConnection {
// EventTarget interface
void addEventListener(in DOMString type,
in EventListener listener,
@@ -62,8 +45,8 @@ module window {
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