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

Unified Diff: modules/mediastream/RTCDataChannel.idl

Issue 540533002: Roll IDL to Dartium37 (r181268) (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 years, 3 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
« no previous file with comments | « modules/mediastream/RTCDTMFSender.idl ('k') | modules/mediastream/RTCIceCandidate.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/mediastream/RTCDataChannel.idl
diff --git a/modules/mediastream/RTCDataChannel.idl b/modules/mediastream/RTCDataChannel.idl
index 4a69b5addef5d0c9db35b1ab8d48475d99bdae3b..7827c200761462c9343bb6e6c126dde33cb92ea9 100644
--- a/modules/mediastream/RTCDataChannel.idl
+++ b/modules/mediastream/RTCDataChannel.idl
@@ -22,35 +22,30 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDataChannel
+
[
- NoInterfaceObject
+ WillBeGarbageCollected,
+ NoInterfaceObject,
] interface RTCDataChannel : EventTarget {
readonly attribute DOMString label;
-
- // DEPRECATED
- readonly attribute boolean reliable;
-
+ readonly attribute boolean reliable; // DEPRECATED
readonly attribute boolean ordered;
readonly attribute unsigned short maxRetransmitTime;
readonly attribute unsigned short maxRetransmits;
readonly attribute DOMString protocol;
readonly attribute boolean negotiated;
readonly attribute unsigned short id;
-
readonly attribute DOMString readyState;
readonly attribute unsigned long bufferedAmount;
-
+ attribute EventHandler onopen;
+ attribute EventHandler onerror;
+ attribute EventHandler onclose;
+ void close();
+ attribute EventHandler onmessage;
[RaisesException=Setter] attribute DOMString binaryType;
-
+ [RaisesException] void send(DOMString data);
+ [RaisesException] void send(Blob data);
[RaisesException] void send(ArrayBuffer data);
[RaisesException] void send(ArrayBufferView data);
- [RaisesException] void send(Blob data);
- [RaisesException] void send(DOMString data);
-
- void close();
-
- attribute EventHandler onopen;
- attribute EventHandler onerror;
- attribute EventHandler onclose;
- attribute EventHandler onmessage;
};
« no previous file with comments | « modules/mediastream/RTCDTMFSender.idl ('k') | modules/mediastream/RTCIceCandidate.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698