Index: client/dom/frog/dom_frog.dart |
diff --git a/client/dom/frog/dom_frog.dart b/client/dom/frog/dom_frog.dart |
index 45cc18813851b1b9ea34a2d6db1947ffb6e805b8..74e065b94afe6748bff22595493b3564cfd24773 100644 |
--- a/client/dom/frog/dom_frog.dart |
+++ b/client/dom/frog/dom_frog.dart |
@@ -72,6 +72,14 @@ class _AudioBufferJs extends _DOMTypeJs implements AudioBuffer native "*AudioBuf |
class _AudioBufferSourceNodeJs extends _AudioSourceNodeJs implements AudioBufferSourceNode native "*AudioBufferSourceNode" { |
+ static final int FINISHED_STATE = 3; |
+ |
+ static final int PLAYING_STATE = 2; |
+ |
+ static final int SCHEDULED_STATE = 1; |
+ |
+ static final int UNSCHEDULED_STATE = 0; |
+ |
_AudioBufferJs buffer; |
final _AudioGainJs gain; |
@@ -82,6 +90,8 @@ class _AudioBufferSourceNodeJs extends _AudioSourceNodeJs implements AudioBuffer |
final _AudioParamJs playbackRate; |
+ final int playbackState; |
+ |
void noteGrainOn(num when, num grainOffset, num grainDuration) native; |
void noteOff(num when) native; |
@@ -97,6 +107,8 @@ class _AudioChannelSplitterJs extends _AudioNodeJs implements AudioChannelSplitt |
class _AudioContextJs extends _DOMTypeJs implements AudioContext native "*AudioContext" { |
+ final int activeSourceCount; |
+ |
final num currentTime; |
final _AudioDestinationNodeJs destination; |
@@ -837,8 +849,6 @@ class _ConsoleJs |
final _MemoryInfoJs memory; |
- final List profiles; |
- |
void assertCondition(bool condition, Object arg) native; |
void count() native; |
@@ -1635,6 +1645,10 @@ class _DocumentJs extends _NodeJs implements Document native "*Document" { |
final bool webkitFullScreenKeyboardInputAllowed; |
+ final _ElementJs webkitFullscreenElement; |
+ |
+ final bool webkitFullscreenEnabled; |
+ |
final bool webkitHidden; |
final bool webkitIsFullScreen; |
@@ -1727,6 +1741,8 @@ class _DocumentJs extends _NodeJs implements Document native "*Document" { |
void webkitCancelFullScreen() native; |
+ void webkitExitFullscreen() native; |
+ |
_WebKitNamedFlowJs webkitGetFlowByName(String name) native; |
} |
@@ -1871,6 +1887,8 @@ class _ElementJs extends _NodeJs implements Element native "*Element" { |
bool webkitMatchesSelector(String selectors) native; |
void webkitRequestFullScreen(int flags) native; |
+ |
+ void webkitRequestFullscreen() native; |
} |
class _ElementTimeControlJs extends _DOMTypeJs implements ElementTimeControl native "*ElementTimeControl" { |
@@ -2104,10 +2122,6 @@ class _EventTargetJs extends _DOMTypeJs implements EventTarget native "*EventTar |
class _FileJs extends _BlobJs implements File native "*File" { |
- final String fileName; |
- |
- final int fileSize; |
- |
final Date lastModifiedDate; |
final String name; |
@@ -3487,8 +3501,6 @@ class _HTMLMetaElementJs extends _HTMLElementJs implements HTMLMetaElement nativ |
class _HTMLMeterElementJs extends _HTMLElementJs implements HTMLMeterElement native "*HTMLMeterElement" { |
- final _HTMLFormElementJs form; |
- |
num high; |
final _NodeListJs labels; |
@@ -3662,8 +3674,6 @@ class _HTMLPreElementJs extends _HTMLElementJs implements HTMLPreElement native |
class _HTMLProgressElementJs extends _HTMLElementJs implements HTMLProgressElement native "*HTMLProgressElement" { |
- final _HTMLFormElementJs form; |
- |
final _NodeListJs labels; |
num max; |
@@ -3684,6 +3694,8 @@ class _HTMLScriptElementJs extends _HTMLElementJs implements HTMLScriptElement n |
String charset; |
+ String crossOrigin; |
+ |
bool defer; |
String event; |
@@ -4338,6 +4350,13 @@ class _IDBVersionChangeRequestJs extends _IDBRequestJs implements IDBVersionChan |
EventListener onblocked; |
} |
+class _IceCandidateJs extends _DOMTypeJs implements IceCandidate native "*IceCandidate" { |
+ |
+ final String label; |
+ |
+ String toSdp() native; |
+} |
+ |
class _ImageDataJs extends _DOMTypeJs implements ImageData native "*ImageData" { |
final _CanvasPixelArrayJs data; |
@@ -9181,6 +9200,13 @@ class _ScriptProfileNodeJs extends _DOMTypeJs implements ScriptProfileNode nativ |
final bool visible; |
} |
+class _SessionDescriptionJs extends _DOMTypeJs implements SessionDescription native "*SessionDescription" { |
+ |
+ void addCandidate(_IceCandidateJs candidate) native; |
+ |
+ String toSdp() native; |
+} |
+ |
class _ShadowRootJs extends _DocumentFragmentJs implements ShadowRoot native "*ShadowRoot" { |
final _ElementJs activeElement; |
@@ -9247,6 +9273,45 @@ class _SpeechInputResultListJs extends _DOMTypeJs implements SpeechInputResultLi |
_SpeechInputResultJs item(int index) native; |
} |
+class _SpeechRecognitionJs extends _DOMTypeJs implements SpeechRecognition native "*SpeechRecognition" { |
+ |
+ bool continuous; |
+ |
+ _SpeechGrammarListJs 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() native; |
+ |
+ void start() native; |
+ |
+ void stop() native; |
+} |
+ |
class _SpeechRecognitionAlternativeJs extends _DOMTypeJs implements SpeechRecognitionAlternative native "*SpeechRecognitionAlternative" { |
final num confidence; |
@@ -11703,6 +11768,14 @@ return new Option(data, value, defaultSelected, selected); |
// 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) native |
+ '''return new IceCandidate(label, candidateLine);'''; |
+} |
+// 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 _MediaControllerFactoryProvider { |
factory MediaController() native |
'''return new MediaController();'''; |
@@ -11727,6 +11800,14 @@ 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) native |
+ '''return new SessionDescription(sdp);'''; |
+} |
+// 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) native |
'''return new ShadowRoot(host);'''; |
@@ -11762,6 +11843,14 @@ 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() native |
+ '''return new SpeechRecognition();'''; |
+} |
+// 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, bool pauseOnExit]) native |
@@ -11925,6 +12014,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; |
@@ -11935,6 +12032,8 @@ interface AudioBufferSourceNode extends AudioSourceNode { |
final AudioParam playbackRate; |
+ final int playbackState; |
+ |
void noteGrainOn(num when, num grainOffset, num grainDuration); |
void noteOff(num when); |
@@ -11967,6 +12066,8 @@ interface AudioContext default _AudioContextFactoryProvider { |
AudioContext(); |
+ final int activeSourceCount; |
+ |
final num currentTime; |
final AudioDestinationNode destination; |
@@ -12836,8 +12937,6 @@ interface Console { |
final MemoryInfo memory; |
- final List profiles; |
- |
void assertCondition(bool condition, Object arg); |
void count(); |
@@ -13832,6 +13931,10 @@ interface Document extends Node, NodeSelector { |
final bool webkitFullScreenKeyboardInputAllowed; |
+ final Element webkitFullscreenElement; |
+ |
+ final bool webkitFullscreenEnabled; |
+ |
final bool webkitHidden; |
final bool webkitIsFullScreen; |
@@ -13924,6 +14027,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 |
@@ -14093,6 +14198,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 |
@@ -14419,10 +14526,6 @@ interface EventTarget { |
interface File extends Blob { |
- final String fileName; |
- |
- final int fileSize; |
- |
final Date lastModifiedDate; |
final String name; |
@@ -15878,8 +15981,6 @@ interface HTMLMetaElement extends HTMLElement { |
interface HTMLMeterElement extends HTMLElement { |
- final HTMLFormElement form; |
- |
num high; |
final NodeList labels; |
@@ -16108,8 +16209,6 @@ interface HTMLPreElement extends HTMLElement { |
interface HTMLProgressElement extends HTMLElement { |
- final HTMLFormElement form; |
- |
final NodeList labels; |
num max; |
@@ -16140,6 +16239,8 @@ interface HTMLScriptElement extends HTMLElement { |
String charset; |
+ String crossOrigin; |
+ |
bool defer; |
String event; |
@@ -16970,6 +17071,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; |
@@ -21053,6 +21168,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); |
@@ -21177,6 +21306,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; |