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

Unified Diff: lib/html/doc/interface/DeprecatedPeerConnection.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/DelayNode.dartdoc ('k') | lib/html/doc/interface/DetailsElement.dartdoc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/doc/interface/DeprecatedPeerConnection.dartdoc
diff --git a/lib/html/doc/interface/DeprecatedPeerConnection.dartdoc b/lib/html/doc/interface/DeprecatedPeerConnection.dartdoc
new file mode 100644
index 0000000000000000000000000000000000000000..69f6006a01488a84e4f707623996ae9f8988f37b
--- /dev/null
+++ b/lib/html/doc/interface/DeprecatedPeerConnection.dartdoc
@@ -0,0 +1,74 @@
+// 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 DeprecatedPeerConnection
+interface DeprecatedPeerConnection extends EventTarget default _DeprecatedPeerConnectionFactoryProvider {
+
+ DeprecatedPeerConnection(String serverConfiguration, SignalingCallback signalingCallback);
+
+ /**
+ * @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
+ */
+ DeprecatedPeerConnectionEvents get on();
+
+ static final int ACTIVE = 2;
+
+ static final int CLOSED = 3;
+
+ static final int NEGOTIATING = 1;
+
+ static final int NEW = 0;
+
+ /** @domName DeprecatedPeerConnection.localStreams */
+ final MediaStreamList localStreams;
+
+ /** @domName DeprecatedPeerConnection.readyState */
+ final int readyState;
+
+ /** @domName DeprecatedPeerConnection.remoteStreams */
+ final MediaStreamList remoteStreams;
+
+ /** @domName DeprecatedPeerConnection.addEventListener */
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
+
+ /** @domName DeprecatedPeerConnection.addStream */
+ void addStream(MediaStream stream);
+
+ /** @domName DeprecatedPeerConnection.close */
+ void close();
+
+ /** @domName DeprecatedPeerConnection.dispatchEvent */
+ bool $dom_dispatchEvent(Event event);
+
+ /** @domName DeprecatedPeerConnection.processSignalingMessage */
+ void processSignalingMessage(String message);
+
+ /** @domName DeprecatedPeerConnection.removeEventListener */
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
+
+ /** @domName DeprecatedPeerConnection.removeStream */
+ void removeStream(MediaStream stream);
+
+ /** @domName DeprecatedPeerConnection.send */
+ void send(String text);
+}
+
+interface DeprecatedPeerConnectionEvents extends Events {
+
+ EventListenerList get addStream();
+
+ EventListenerList get connecting();
+
+ EventListenerList get message();
+
+ EventListenerList get open();
+
+ EventListenerList get removeStream();
+
+ EventListenerList get stateChange();
+}
« no previous file with comments | « lib/html/doc/interface/DelayNode.dartdoc ('k') | lib/html/doc/interface/DetailsElement.dartdoc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698