| Index: lib/dom/frog/dom_frog.dart
|
| diff --git a/lib/dom/frog/dom_frog.dart b/lib/dom/frog/dom_frog.dart
|
| index fde31243669a3a203aed824c893b452a168adc1e..1ca7973d5f3cf6b871e7a25abf72fff97f7d654c 100644
|
| --- a/lib/dom/frog/dom_frog.dart
|
| +++ b/lib/dom/frog/dom_frog.dart
|
| @@ -138,18 +138,18 @@ class _AudioContextJs extends _DOMTypeJs implements AudioContext native "*AudioC
|
|
|
| _AudioGainNodeJs createGainNode() native;
|
|
|
| - _HighPass2FilterNodeJs createHighPass2Filter() native;
|
| -
|
| _JavaScriptAudioNodeJs createJavaScriptNode(int bufferSize) native;
|
|
|
| - _LowPass2FilterNodeJs createLowPass2Filter() native;
|
| -
|
| _MediaElementAudioSourceNodeJs createMediaElementSource(_HTMLMediaElementJs mediaElement) native;
|
|
|
| + _OscillatorJs createOscillator() native;
|
| +
|
| _AudioPannerNodeJs createPanner() native;
|
|
|
| _WaveShaperNodeJs createWaveShaper() native;
|
|
|
| + _WaveTableJs createWaveTable(_Float32ArrayJs real, _Float32ArrayJs imag) native;
|
| +
|
| void decodeAudioData(_ArrayBufferJs audioData, AudioBufferCallback successCallback, [AudioBufferCallback errorCallback = null]) native;
|
|
|
| void startRendering() native;
|
| @@ -414,6 +414,12 @@ class _CSSPrimitiveValueJs extends _CSSValueJs implements CSSPrimitiveValue nati
|
|
|
| static final int CSS_URI = 20;
|
|
|
| + static final int CSS_VH = 27;
|
| +
|
| + static final int CSS_VMIN = 28;
|
| +
|
| + static final int CSS_VW = 26;
|
| +
|
| final int primitiveType;
|
|
|
| _CounterJs getCounterValue() native;
|
| @@ -2963,6 +2969,8 @@ class _HTMLEmbedElementJs extends _HTMLElementJs implements HTMLEmbedElement nat
|
|
|
| class _HTMLFieldSetElementJs extends _HTMLElementJs implements HTMLFieldSetElement native "*HTMLFieldSetElement" {
|
|
|
| + bool disabled;
|
| +
|
| final _HTMLFormElementJs form;
|
|
|
| String name;
|
| @@ -3111,6 +3119,8 @@ class _HTMLIFrameElementJs extends _HTMLElementJs implements HTMLIFrameElement n
|
|
|
| String src;
|
|
|
| + String srcdoc;
|
| +
|
| String width;
|
|
|
| _SVGDocumentJs getSVGDocument() native;
|
| @@ -4077,13 +4087,6 @@ class _HashChangeEventJs extends _EventJs implements HashChangeEvent native "*Ha
|
| void initHashChangeEvent(String type, bool canBubble, bool cancelable, String oldURL, String newURL) native;
|
| }
|
|
|
| -class _HighPass2FilterNodeJs extends _AudioNodeJs implements HighPass2FilterNode native "*HighPass2FilterNode" {
|
| -
|
| - final _AudioParamJs cutoff;
|
| -
|
| - final _AudioParamJs resonance;
|
| -}
|
| -
|
| class _HistoryJs extends _DOMTypeJs implements History native "*History" {
|
|
|
| final int length;
|
| @@ -4168,13 +4171,6 @@ class _IDBDatabaseJs extends _DOMTypeJs implements IDBDatabase native "*IDBDatab
|
| _IDBTransactionJs transaction(var storeName_OR_storeNames, [int mode = null]) native;
|
| }
|
|
|
| -class _IDBDatabaseErrorJs extends _DOMTypeJs implements IDBDatabaseError native "*IDBDatabaseError" {
|
| -
|
| - int code;
|
| -
|
| - String message;
|
| -}
|
| -
|
| class _IDBDatabaseExceptionJs extends _DOMTypeJs implements IDBDatabaseException native "*IDBDatabaseException" {
|
|
|
| static final int ABORT_ERR = 8;
|
| @@ -4749,13 +4745,6 @@ class _LocationJs extends _DOMTypeJs implements Location native "*Location" {
|
| String toString() native;
|
| }
|
|
|
| -class _LowPass2FilterNodeJs extends _AudioNodeJs implements LowPass2FilterNode native "*LowPass2FilterNode" {
|
| -
|
| - final _AudioParamJs cutoff;
|
| -
|
| - final _AudioParamJs resonance;
|
| -}
|
| -
|
| class _MediaControllerJs extends _DOMTypeJs implements MediaController native "*MediaController" {
|
|
|
| final _TimeRangesJs buffered;
|
| @@ -5065,6 +5054,9 @@ class _MouseEventJs extends _UIEventJs implements MouseEvent native "*MouseEvent
|
| void initMouseEvent(String type, bool canBubble, bool cancelable, _DOMWindowJs view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, int button, _EventTargetJs relatedTarget) native;
|
| }
|
|
|
| +class _MutationCallbackJs extends _DOMTypeJs implements MutationCallback native "*MutationCallback" {
|
| +}
|
| +
|
| class _MutationEventJs extends _EventJs implements MutationEvent native "*MutationEvent" {
|
|
|
| static final int ADDITION = 2;
|
| @@ -5086,6 +5078,27 @@ class _MutationEventJs extends _EventJs implements MutationEvent native "*Mutati
|
| void initMutationEvent(String type, bool canBubble, bool cancelable, _NodeJs relatedNode, String prevValue, String newValue, String attrName, int attrChange) native;
|
| }
|
|
|
| +class _MutationRecordJs extends _DOMTypeJs implements MutationRecord native "*MutationRecord" {
|
| +
|
| + final _NodeListJs addedNodes;
|
| +
|
| + final String attributeName;
|
| +
|
| + final String attributeNamespace;
|
| +
|
| + final _NodeJs nextSibling;
|
| +
|
| + final String oldValue;
|
| +
|
| + final _NodeJs previousSibling;
|
| +
|
| + final _NodeListJs removedNodes;
|
| +
|
| + final _NodeJs target;
|
| +
|
| + final String type;
|
| +}
|
| +
|
| class _NamedNodeMapJs extends _DOMTypeJs implements NamedNodeMap native "*NamedNodeMap" {
|
|
|
| final int length;
|
| @@ -5511,11 +5524,11 @@ class _NotificationJs extends _EventTargetJs implements Notification native "*No
|
|
|
| String dir;
|
|
|
| - String replaceId;
|
| + String tag;
|
|
|
| void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
|
|
|
| - void cancel() native;
|
| + void close() native;
|
|
|
| bool dispatchEvent(_EventJs evt) native;
|
|
|
| @@ -5574,6 +5587,27 @@ class _OperationNotAllowedExceptionJs extends _DOMTypeJs implements OperationNot
|
| String toString() native;
|
| }
|
|
|
| +class _OscillatorJs extends _AudioSourceNodeJs implements Oscillator native "*Oscillator" {
|
| +
|
| + static final int CUSTOM = 4;
|
| +
|
| + static final int SAWTOOTH = 2;
|
| +
|
| + static final int SINE = 0;
|
| +
|
| + static final int SQUARE = 1;
|
| +
|
| + static final int TRIANGLE = 3;
|
| +
|
| + final _AudioParamJs detune;
|
| +
|
| + final _AudioParamJs frequency;
|
| +
|
| + int type;
|
| +
|
| + void setWaveTable(_WaveTableJs waveTable) native;
|
| +}
|
| +
|
| class _OverflowEventJs extends _EventJs implements OverflowEvent native "*OverflowEvent" {
|
|
|
| static final int BOTH = 2;
|
| @@ -10294,6 +10328,9 @@ class _WaveShaperNodeJs extends _AudioNodeJs implements WaveShaperNode native "*
|
| _Float32ArrayJs curve;
|
| }
|
|
|
| +class _WaveTableJs extends _DOMTypeJs implements WaveTable native "*WaveTable" {
|
| +}
|
| +
|
| class _WebGLActiveInfoJs extends _DOMTypeJs implements WebGLActiveInfo native "*WebGLActiveInfo" {
|
|
|
| final String name;
|
| @@ -11101,6 +11138,8 @@ class _WebGLRenderingContextJs extends _CanvasRenderingContextJs implements WebG
|
|
|
| Object getShaderParameter(_WebGLShaderJs shader, int pname) native;
|
|
|
| + _WebGLShaderPrecisionFormatJs getShaderPrecisionFormat(int shadertype, int precisiontype) native;
|
| +
|
| String getShaderSource(_WebGLShaderJs shader) native;
|
|
|
| Object getTexParameter(int target, int pname) native;
|
| @@ -11237,6 +11276,15 @@ class _WebGLRenderingContextJs extends _CanvasRenderingContextJs implements WebG
|
| class _WebGLShaderJs extends _DOMTypeJs implements WebGLShader native "*WebGLShader" {
|
| }
|
|
|
| +class _WebGLShaderPrecisionFormatJs extends _DOMTypeJs implements WebGLShaderPrecisionFormat native "*WebGLShaderPrecisionFormat" {
|
| +
|
| + final int precision;
|
| +
|
| + final int rangeMax;
|
| +
|
| + final int rangeMin;
|
| +}
|
| +
|
| class _WebGLTextureJs extends _DOMTypeJs implements WebGLTexture native "*WebGLTexture" {
|
| }
|
|
|
| @@ -11443,6 +11491,11 @@ class _WebKitCSSTransformValueJs extends _CSSValueListJs implements WebKitCSSTra
|
| final int operationType;
|
| }
|
|
|
| +class _WebKitMutationObserverJs extends _DOMTypeJs implements WebKitMutationObserver native "*WebKitMutationObserver" {
|
| +
|
| + void disconnect() native;
|
| +}
|
| +
|
| class _WebKitNamedFlowJs extends _DOMTypeJs implements WebKitNamedFlow native "*WebKitNamedFlow" {
|
|
|
| final bool overflow;
|
| @@ -12229,18 +12282,18 @@ interface AudioContext default _AudioContextFactoryProvider {
|
|
|
| AudioGainNode createGainNode();
|
|
|
| - HighPass2FilterNode createHighPass2Filter();
|
| -
|
| JavaScriptAudioNode createJavaScriptNode(int bufferSize);
|
|
|
| - LowPass2FilterNode createLowPass2Filter();
|
| -
|
| MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaElement);
|
|
|
| + Oscillator createOscillator();
|
| +
|
| AudioPannerNode createPanner();
|
|
|
| WaveShaperNode createWaveShaper();
|
|
|
| + WaveTable createWaveTable(Float32Array real, Float32Array imag);
|
| +
|
| void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallback, [AudioBufferCallback errorCallback]);
|
|
|
| void startRendering();
|
| @@ -12608,6 +12661,12 @@ interface CSSPrimitiveValue extends CSSValue {
|
|
|
| static final int CSS_URI = 20;
|
|
|
| + static final int CSS_VH = 27;
|
| +
|
| + static final int CSS_VMIN = 28;
|
| +
|
| + static final int CSS_VW = 26;
|
| +
|
| final int primitiveType;
|
|
|
| Counter getCounterValue();
|
| @@ -15456,6 +15515,8 @@ interface HTMLEmbedElement extends HTMLElement {
|
|
|
| interface HTMLFieldSetElement extends HTMLElement {
|
|
|
| + bool disabled;
|
| +
|
| final HTMLFormElement form;
|
|
|
| String name;
|
| @@ -15650,6 +15711,8 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
| String src;
|
|
|
| + String srcdoc;
|
| +
|
| String width;
|
|
|
| SVGDocument getSVGDocument();
|
| @@ -16832,18 +16895,6 @@ interface HashChangeEvent extends Event {
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| -interface HighPass2FilterNode extends AudioNode {
|
| -
|
| - final AudioParam cutoff;
|
| -
|
| - final AudioParam resonance;
|
| -}
|
| -// 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 History {
|
|
|
| final int length;
|
| @@ -16950,18 +17001,6 @@ interface IDBDatabase {
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| -interface IDBDatabaseError {
|
| -
|
| - int code;
|
| -
|
| - String message;
|
| -}
|
| -// 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 IDBDatabaseException {
|
|
|
| static final int ABORT_ERR = 8;
|
| @@ -17423,18 +17462,6 @@ interface Location {
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| -interface LowPass2FilterNode extends AudioNode {
|
| -
|
| - final AudioParam cutoff;
|
| -
|
| - final AudioParam resonance;
|
| -}
|
| -// 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 MediaController default _MediaControllerFactoryProvider {
|
|
|
| MediaController();
|
| @@ -17760,6 +17787,14 @@ interface MouseEvent extends UIEvent {
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| +interface MutationCallback {
|
| +}
|
| +// 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 MutationEvent extends Event {
|
|
|
| static final int ADDITION = 2;
|
| @@ -17786,6 +17821,32 @@ interface MutationEvent extends Event {
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| +interface MutationRecord {
|
| +
|
| + final NodeList addedNodes;
|
| +
|
| + final String attributeName;
|
| +
|
| + final String attributeNamespace;
|
| +
|
| + final Node nextSibling;
|
| +
|
| + final String oldValue;
|
| +
|
| + final Node previousSibling;
|
| +
|
| + final NodeList removedNodes;
|
| +
|
| + final Node target;
|
| +
|
| + final String type;
|
| +}
|
| +// 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 NamedNodeMap extends List<Node> {
|
|
|
| final int length;
|
| @@ -18106,11 +18167,11 @@ interface Notification extends EventTarget {
|
|
|
| String dir;
|
|
|
| - String replaceId;
|
| + String tag;
|
|
|
| void addEventListener(String type, EventListener listener, [bool useCapture]);
|
|
|
| - void cancel();
|
| + void close();
|
|
|
| bool dispatchEvent(Event evt);
|
|
|
| @@ -18204,6 +18265,32 @@ interface OperationNotAllowedException {
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| +interface Oscillator extends AudioSourceNode {
|
| +
|
| + static final int CUSTOM = 4;
|
| +
|
| + static final int SAWTOOTH = 2;
|
| +
|
| + static final int SINE = 0;
|
| +
|
| + static final int SQUARE = 1;
|
| +
|
| + static final int TRIANGLE = 3;
|
| +
|
| + final AudioParam detune;
|
| +
|
| + final AudioParam frequency;
|
| +
|
| + int type;
|
| +
|
| + void setWaveTable(WaveTable waveTable);
|
| +}
|
| +// 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 OverflowEvent extends Event {
|
|
|
| static final int BOTH = 2;
|
| @@ -22225,6 +22312,14 @@ interface WaveShaperNode extends AudioNode {
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| +interface WaveTable {
|
| +}
|
| +// 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 WebGLActiveInfo {
|
|
|
| final String name;
|
| @@ -23087,6 +23182,8 @@ interface WebGLRenderingContext extends CanvasRenderingContext {
|
|
|
| Object getShaderParameter(WebGLShader shader, int pname);
|
|
|
| + WebGLShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisiontype);
|
| +
|
| String getShaderSource(WebGLShader shader);
|
|
|
| Object getTexParameter(int target, int pname);
|
| @@ -23233,6 +23330,20 @@ interface WebGLShader {
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| +interface WebGLShaderPrecisionFormat {
|
| +
|
| + final int precision;
|
| +
|
| + final int rangeMax;
|
| +
|
| + final int rangeMin;
|
| +}
|
| +// 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 WebGLTexture {
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| @@ -23503,6 +23614,16 @@ interface WebKitCSSTransformValue extends CSSValueList {
|
|
|
| // WARNING: Do not edit - generated code.
|
|
|
| +interface WebKitMutationObserver {
|
| +
|
| + void disconnect();
|
| +}
|
| +// 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 WebKitNamedFlow {
|
|
|
| final bool overflow;
|
|
|