Index: client/dom/dom.dart |
diff --git a/client/dom/dom.dart b/client/dom/dom.dart |
index 33fdbc8b83029faca6b40cfad59cd201cbd355dc..c41964f4345b42730ae26768c9a8679358297b49 100644 |
--- a/client/dom/dom.dart |
+++ b/client/dom/dom.dart |
@@ -69,6 +69,13 @@ class _HTMLOptionElementFactoryProvider { |
// 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 _IceCandidateFactoryProvider { |
+ factory IceCandidate(String label, String candidateLine) => _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 _MediaStreamFactoryProvider { |
factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks) => _dummy(); |
} |
@@ -90,6 +97,13 @@ class _MessageChannelFactoryProvider { |
// 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(); |
+} |
+// 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 _ShadowRootFactoryProvider { |
factory ShadowRoot(Element host) => _dummy(); |
} |
@@ -118,6 +132,13 @@ class _SpeechGrammarListFactoryProvider { |
// 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 _SpeechRecognitionFactoryProvider { |
+ factory SpeechRecognition() => _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 _TextTrackCueFactoryProvider { |
factory TextTrackCue(String id, num startTime, num endTime, String text, [String settings = null, bool pauseOnExit = null]) => _dummy(); |
} |
@@ -263,6 +284,14 @@ typedef bool AudioBufferCallback(AudioBuffer audioBuffer); |
interface AudioBufferSourceNode extends AudioSourceNode { |
+ static final int FINISHED_STATE = 3; |
+ |
+ static final int PLAYING_STATE = 2; |
+ |
+ static final int SCHEDULED_STATE = 1; |
+ |
+ static final int UNSCHEDULED_STATE = 0; |
+ |
AudioBuffer buffer; |
final AudioGain gain; |
@@ -273,6 +302,8 @@ interface AudioBufferSourceNode extends AudioSourceNode { |
final AudioParam playbackRate; |
+ final int playbackState; |
+ |
void noteGrainOn(num when, num grainOffset, num grainDuration); |
void noteOff(num when); |
@@ -305,6 +336,8 @@ interface AudioContext default _AudioContextFactoryProvider { |
AudioContext(); |
+ final int activeSourceCount; |
+ |
final num currentTime; |
final AudioDestinationNode destination; |
@@ -1174,8 +1207,6 @@ interface Console { |
final MemoryInfo memory; |
- final List profiles; |
- |
void assertCondition(bool condition, Object arg); |
void count(); |
@@ -2170,6 +2201,10 @@ interface Document extends Node, NodeSelector { |
final bool webkitFullScreenKeyboardInputAllowed; |
+ final Element webkitFullscreenElement; |
+ |
+ final bool webkitFullscreenEnabled; |
+ |
final bool webkitHidden; |
final bool webkitIsFullScreen; |
@@ -2262,6 +2297,8 @@ interface Document extends Node, NodeSelector { |
void webkitCancelFullScreen(); |
+ void webkitExitFullscreen(); |
+ |
WebKitNamedFlow webkitGetFlowByName(String name); |
} |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
@@ -2431,6 +2468,8 @@ interface Element extends Node, NodeSelector, ElementTraversal { |
bool webkitMatchesSelector(String selectors); |
void webkitRequestFullScreen(int flags); |
+ |
+ void webkitRequestFullscreen(); |
} |
// 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 |
@@ -2757,10 +2796,6 @@ interface EventTarget { |
interface File extends Blob { |
- final String fileName; |
- |
- final int fileSize; |
- |
final Date lastModifiedDate; |
final String name; |
@@ -4216,8 +4251,6 @@ interface HTMLMetaElement extends HTMLElement { |
interface HTMLMeterElement extends HTMLElement { |
- final HTMLFormElement form; |
- |
num high; |
final NodeList labels; |
@@ -4446,8 +4479,6 @@ interface HTMLPreElement extends HTMLElement { |
interface HTMLProgressElement extends HTMLElement { |
- final HTMLFormElement form; |
- |
final NodeList labels; |
num max; |
@@ -4478,6 +4509,8 @@ interface HTMLScriptElement extends HTMLElement { |
String charset; |
+ String crossOrigin; |
+ |
bool defer; |
String event; |
@@ -5308,6 +5341,20 @@ interface IDBVersionChangeRequest extends IDBRequest { |
// WARNING: Do not edit - generated code. |
+interface IceCandidate default _IceCandidateFactoryProvider { |
+ |
+ IceCandidate(String label, String candidateLine); |
+ |
+ final String label; |
+ |
+ String toSdp(); |
+} |
+// 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 ImageData { |
final CanvasPixelArray data; |
@@ -9391,6 +9438,20 @@ interface ScriptProfileNode { |
// WARNING: Do not edit - generated code. |
+interface SessionDescription default _SessionDescriptionFactoryProvider { |
+ |
+ SessionDescription(String sdp); |
+ |
+ void addCandidate(IceCandidate candidate); |
+ |
+ String toSdp(); |
+} |
+// 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 ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider { |
ShadowRoot(Element host); |
@@ -9515,6 +9576,52 @@ interface SpeechInputResultList { |
// WARNING: Do not edit - generated code. |
+interface SpeechRecognition default _SpeechRecognitionFactoryProvider { |
+ |
+ SpeechRecognition(); |
+ |
+ bool continuous; |
+ |
+ SpeechGrammarList grammars; |
+ |
+ String lang; |
+ |
+ EventListener onaudioend; |
+ |
+ EventListener onaudiostart; |
+ |
+ EventListener onend; |
+ |
+ EventListener onerror; |
+ |
+ EventListener onnomatch; |
+ |
+ EventListener onresult; |
+ |
+ EventListener onresultdeleted; |
+ |
+ EventListener onsoundend; |
+ |
+ EventListener onsoundstart; |
+ |
+ EventListener onspeechend; |
+ |
+ EventListener onspeechstart; |
+ |
+ EventListener onstart; |
+ |
+ void abort(); |
+ |
+ void start(); |
+ |
+ void stop(); |
+} |
+// 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 SpeechRecognitionAlternative { |
final num confidence; |