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

Unified Diff: lib/dom/dom.dart

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
« no previous file with comments | « lib/dom/dart2js/dom_dart2js.dart ('k') | lib/dom/scripts/fremontcutbuilder.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/dom.dart
diff --git a/lib/dom/dom.dart b/lib/dom/dom.dart
index 614127281cf28017a1d6d40b9e73fc10cad1f6ec..e534b1efe21d18c0ce117f47de10da123e21c6bd 100644
--- a/lib/dom/dom.dart
+++ b/lib/dom/dom.dart
@@ -48,13 +48,6 @@ class _DataViewFactoryProvider {
// 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.
-class _DeprecatedPeerConnectionFactoryProvider {
- factory DeprecatedPeerConnection(String serverConfiguration, SignalingCallback signalingCallback) => _dummy();
-}
-// 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.
-
class _EventSourceFactoryProvider {
factory EventSource(String scriptUrl) => _dummy();
}
@@ -2104,46 +2097,6 @@ interface DelayNode extends AudioNode {
// WARNING: Do not edit - generated code.
-interface DeprecatedPeerConnection extends EventTarget default _DeprecatedPeerConnectionFactoryProvider {
-
- DeprecatedPeerConnection(String serverConfiguration, SignalingCallback signalingCallback);
-
- static final int ACTIVE = 2;
-
- static final int CLOSED = 3;
-
- static final int NEGOTIATING = 1;
-
- static final int NEW = 0;
-
- final MediaStreamList localStreams;
-
- final int readyState;
-
- final MediaStreamList remoteStreams;
-
- void addEventListener(String type, EventListener listener, [bool useCapture]);
-
- void addStream(MediaStream stream);
-
- void close();
-
- bool dispatchEvent(Event event);
-
- void processSignalingMessage(String message);
-
- void removeEventListener(String type, EventListener listener, [bool useCapture]);
-
- void removeStream(MediaStream stream);
-
- void send(String text);
-}
-// 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: Do not edit - generated code.
-
interface DeviceMotionEvent extends Event {
final num interval;
@@ -5186,7 +5139,7 @@ interface IDBDatabase extends EventTarget {
final List<String> objectStoreNames;
- final String version;
+ final /*IDBAny*/ version;
void addEventListener(String type, EventListener listener, [bool useCapture]);
@@ -5873,13 +5826,27 @@ interface MediaStreamList {
// WARNING: Do not edit - generated code.
-interface MediaStreamTrack {
+interface MediaStreamTrack extends EventTarget {
+
+ static final int ENDED = 2;
+
+ static final int LIVE = 0;
+
+ static final int MUTED = 1;
bool enabled;
final String kind;
final String label;
+
+ final int readyState;
+
+ void addEventListener(String type, EventListener listener, [bool useCapture]);
+
+ bool dispatchEvent(Event event);
+
+ void removeEventListener(String type, EventListener listener, [bool useCapture]);
}
// 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
@@ -6191,14 +6158,14 @@ interface Navigator {
final BatteryManager webkitBattery;
- final GamepadList webkitGamepads;
-
final PointerLock webkitPointer;
void getStorageUpdates();
bool javaEnabled();
+ GamepadList webkitGetGamepads();
+
void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback successCallback, [NavigatorUserMediaErrorCallback errorCallback]);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -9867,7 +9834,32 @@ interface SharedWorkerContext extends SharedWorkerGlobalScope {
// WARNING: Do not edit - generated code.
-typedef bool SignalingCallback(String message, DeprecatedPeerConnection source);
+interface SourceBuffer {
+
+ final TimeRanges buffered;
+
+ void abort();
+
+ void append(Uint8Array data);
+}
+// 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: Do not edit - generated code.
+
+interface SourceBufferList extends EventTarget {
+
+ final int length;
+
+ void addEventListener(String type, EventListener listener, [bool useCapture]);
+
+ bool dispatchEvent(Event event);
+
+ SourceBuffer item(int index);
+
+ void removeEventListener(String type, EventListener listener, [bool useCapture]);
+}
// 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.
@@ -10028,6 +10020,8 @@ interface SpeechRecognitionEvent extends Event {
interface SpeechRecognitionResult {
+ final Document emma;
+
final bool finalValue;
final int length;
« no previous file with comments | « lib/dom/dart2js/dom_dart2js.dart ('k') | lib/dom/scripts/fremontcutbuilder.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698