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

Unified Diff: lib/html/doc/interface/PeerConnection00.dartdoc

Issue 10544064: Add dummy dart:html library for documentation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 | « lib/html/doc/interface/ParamElement.dartdoc ('k') | lib/html/doc/interface/Performance.dartdoc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/doc/interface/PeerConnection00.dartdoc
diff --git a/lib/html/doc/interface/PeerConnection00.dartdoc b/lib/html/doc/interface/PeerConnection00.dartdoc
new file mode 100644
index 0000000000000000000000000000000000000000..740e21c101487d51b143e8ae6f6e9efd1483387f
--- /dev/null
+++ b/lib/html/doc/interface/PeerConnection00.dartdoc
@@ -0,0 +1,113 @@
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING:
+// This file contains documentation that is merged into the real source.
+// Do not make code changes here.
+
+/// @domName PeerConnection00
+interface PeerConnection00 extends EventTarget default _PeerConnection00FactoryProvider {
+
+ PeerConnection00(String serverConfiguration, IceCallback iceCallback);
+
+ /**
+ * @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
+ */
+ PeerConnection00Events get on();
+
+ static final int ACTIVE = 2;
+
+ static final int CLOSED = 3;
+
+ static final int ICE_CHECKING = 0x300;
+
+ static final int ICE_CLOSED = 0x700;
+
+ static final int ICE_COMPLETED = 0x500;
+
+ static final int ICE_CONNECTED = 0x400;
+
+ static final int ICE_FAILED = 0x600;
+
+ static final int ICE_GATHERING = 0x100;
+
+ static final int ICE_WAITING = 0x200;
+
+ static final int NEW = 0;
+
+ static final int OPENING = 1;
+
+ static final int SDP_ANSWER = 0x300;
+
+ static final int SDP_OFFER = 0x100;
+
+ static final int SDP_PRANSWER = 0x200;
+
+ /** @domName PeerConnection00.iceState */
+ final int iceState;
+
+ /** @domName PeerConnection00.localDescription */
+ final SessionDescription localDescription;
+
+ /** @domName PeerConnection00.localStreams */
+ final MediaStreamList localStreams;
+
+ /** @domName PeerConnection00.readyState */
+ final int readyState;
+
+ /** @domName PeerConnection00.remoteDescription */
+ final SessionDescription remoteDescription;
+
+ /** @domName PeerConnection00.remoteStreams */
+ final MediaStreamList remoteStreams;
+
+ /** @domName PeerConnection00.addEventListener */
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
+
+ /** @domName PeerConnection00.addStream */
+ void addStream(MediaStream stream, [Map mediaStreamHints]);
+
+ /** @domName PeerConnection00.close */
+ void close();
+
+ /** @domName PeerConnection00.createAnswer */
+ SessionDescription createAnswer(String offer, [Map mediaHints]);
+
+ /** @domName PeerConnection00.createOffer */
+ SessionDescription createOffer([Map mediaHints]);
+
+ /** @domName PeerConnection00.dispatchEvent */
+ bool $dom_dispatchEvent(Event event);
+
+ /** @domName PeerConnection00.processIceMessage */
+ void processIceMessage(IceCandidate candidate);
+
+ /** @domName PeerConnection00.removeEventListener */
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
+
+ /** @domName PeerConnection00.removeStream */
+ void removeStream(MediaStream stream);
+
+ /** @domName PeerConnection00.setLocalDescription */
+ void setLocalDescription(int action, SessionDescription desc);
+
+ /** @domName PeerConnection00.setRemoteDescription */
+ void setRemoteDescription(int action, SessionDescription desc);
+
+ /** @domName PeerConnection00.startIce */
+ void startIce([Map iceOptions]);
+}
+
+interface PeerConnection00Events extends Events {
+
+ EventListenerList get addStream();
+
+ EventListenerList get connecting();
+
+ EventListenerList get open();
+
+ EventListenerList get removeStream();
+
+ EventListenerList get stateChange();
+}
« no previous file with comments | « lib/html/doc/interface/ParamElement.dartdoc ('k') | lib/html/doc/interface/Performance.dartdoc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698