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

Unified Diff: lib/dom/dom.dart

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
« no previous file with comments | « lib/dom/dart2js/dom_dart2js.dart ('k') | lib/html/dart2js/html_dart2js.dart » ('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 e534b1efe21d18c0ce117f47de10da123e21c6bd..fb73853f1086bcebfdde2297c0938e3c0b75e35f 100644
--- a/lib/dom/dom.dart
+++ b/lib/dom/dom.dart
@@ -104,6 +104,13 @@ class _MediaControllerFactoryProvider {
// 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 _MediaSourceFactoryProvider {
+ factory MediaSource() => _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 _MessageChannelFactoryProvider {
factory MessageChannel() => _dummy();
}
@@ -132,6 +139,13 @@ class _PeerConnection00FactoryProvider {
// 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 _RTCPeerConnectionFactoryProvider {
+ factory RTCPeerConnection(Map rtcICEServers, [Map mediaConstraints]) => _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 _SessionDescriptionFactoryProvider {
factory SessionDescription(String sdp) => _dummy();
}
@@ -400,6 +414,8 @@ interface AudioContext extends EventTarget default _AudioContextFactoryProvider
MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaElement);
+ MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream);
+
Oscillator createOscillator();
AudioPannerNode createPanner();
@@ -2417,6 +2433,10 @@ interface Element extends Node, ElementTraversal {
final int childElementCount;
+ final DOMTokenList classList;
+
+ String className;
+
final int clientHeight;
final int clientLeft;
@@ -2457,7 +2477,7 @@ interface Element extends Node, ElementTraversal {
final String tagName;
- final String webkitRegionOverflow;
+ final String webkitRegionOverset;
void blur();
@@ -3581,10 +3601,6 @@ interface HTMLElement extends Element {
final HTMLCollection children;
- final DOMTokenList classList;
-
- String className;
-
String contentEditable;
String dir;
@@ -4179,12 +4195,6 @@ interface HTMLMarqueeElement extends HTMLElement {
interface HTMLMediaElement extends HTMLElement {
- static final int EOS_DECODE_ERR = 2;
-
- static final int EOS_NETWORK_ERR = 1;
-
- static final int EOS_NO_ERROR = 0;
-
static final int HAVE_CURRENT_DATA = 2;
static final int HAVE_ENOUGH_DATA = 4;
@@ -4203,12 +4213,6 @@ interface HTMLMediaElement extends HTMLElement {
static final int NETWORK_NO_SOURCE = 3;
- static final int SOURCE_CLOSED = 0;
-
- static final int SOURCE_ENDED = 2;
-
- static final int SOURCE_OPEN = 1;
-
bool autoplay;
final TimeRanges buffered;
@@ -4273,8 +4277,6 @@ interface HTMLMediaElement extends HTMLElement {
bool webkitPreservesPitch;
- final int webkitSourceState;
-
final int webkitVideoDecodedByteCount;
TextTrack addTextTrack(String kind, [String label, String language]);
@@ -4292,18 +4294,6 @@ interface HTMLMediaElement extends HTMLElement {
void webkitCancelKeyRequest(String keySystem, String sessionId);
void webkitGenerateKeyRequest(String keySystem, [Uint8Array initData]);
-
- void webkitSourceAbort(String id);
-
- void webkitSourceAddId(String id, String type);
-
- void webkitSourceAppend(String id, Uint8Array data);
-
- TimeRanges webkitSourceBuffered(String id);
-
- void webkitSourceEndOfStream(int status);
-
- void webkitSourceRemoveId(String id);
}
// 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
@@ -5776,6 +5766,34 @@ interface MediaQueryListListener {
// WARNING: Do not edit - generated code.
+interface MediaSource extends EventTarget default _MediaSourceFactoryProvider {
+
+ MediaSource();
+
+ final SourceBufferList activeSourceBuffers;
+
+ final String readyState;
+
+ final SourceBufferList sourceBuffers;
+
+ void addEventListener(String type, EventListener listener, [bool useCapture]);
+
+ SourceBuffer addSourceBuffer(String type);
+
+ bool dispatchEvent(Event event);
+
+ void endOfStream(String error);
+
+ void removeEventListener(String type, EventListener listener, [bool useCapture]);
+
+ void removeSourceBuffer(SourceBuffer buffer);
+}
+// 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 MediaStream extends EventTarget default _MediaStreamFactoryProvider {
MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks);
@@ -5804,6 +5822,16 @@ interface MediaStream extends EventTarget default _MediaStreamFactoryProvider {
// WARNING: Do not edit - generated code.
+interface MediaStreamAudioSourceNode extends AudioSourceNode {
+
+ final MediaStream mediaStream;
+}
+// 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 MediaStreamEvent extends Event {
final MediaStream stream;
@@ -6158,8 +6186,6 @@ interface Navigator {
final BatteryManager webkitBattery;
- final PointerLock webkitPointer;
-
void getStorageUpdates();
bool javaEnabled();
@@ -6414,6 +6440,8 @@ interface Notification extends EventTarget default _NotificationFactoryProvider
String dir;
+ final String permission;
+
String replaceId;
String tag;
@@ -6745,20 +6773,6 @@ interface PerformanceTiming {
// WARNING: Do not edit - generated code.
-interface PointerLock {
-
- final bool isLocked;
-
- void lock(Element target, [VoidCallback successCallback, VoidCallback failureCallback]);
-
- void unlock();
-}
-// 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 PopStateEvent extends Event {
final Object state;
@@ -6843,6 +6857,22 @@ interface RGBColor {
// WARNING: Do not edit - generated code.
+interface RTCPeerConnection extends EventTarget default _RTCPeerConnectionFactoryProvider {
+
+ RTCPeerConnection(Map rtcICEServers, [Map mediaConstraints]);
+
+ 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
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING: Do not edit - generated code.
+
interface RadioNodeList extends NodeList {
String value;
@@ -7539,7 +7569,7 @@ interface SVGElement extends Element {
// WARNING: Do not edit - generated code.
-interface SVGElementInstance {
+interface SVGElementInstance extends EventTarget {
final SVGElementInstanceList childNodes;
@@ -7556,12 +7586,6 @@ interface SVGElementInstance {
final SVGElementInstance parentNode;
final SVGElementInstance previousSibling;
-
- 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
@@ -11932,7 +11956,7 @@ interface WebKitCSSTransformValue extends CSSValueList {
// WARNING: Do not edit - generated code.
-interface WebKitNamedFlow {
+interface WebKitNamedFlow extends EventTarget {
final int firstEmptyRegionIndex;
@@ -11940,9 +11964,17 @@ interface WebKitNamedFlow {
final bool overset;
+ void addEventListener(String type, EventListener listener, [bool useCapture]);
+
+ bool dispatchEvent(Event event);
+
NodeList getContent();
+ NodeList getRegions();
+
NodeList getRegionsByContent(Node contentNode);
+
+ 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
« no previous file with comments | « lib/dom/dart2js/dom_dart2js.dart ('k') | lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698