| Index: lib/dom/frog/dom_frog.dart
|
| diff --git a/lib/dom/frog/dom_frog.dart b/lib/dom/frog/dom_frog.dart
|
| index 6f318e291c2dac21a4417d6007a45024b1fb6f1c..c5fb94d0c760637e1153d7867155df09776b76dc 100644
|
| --- a/lib/dom/frog/dom_frog.dart
|
| +++ b/lib/dom/frog/dom_frog.dart
|
| @@ -142,10 +142,14 @@ class _AudioContextJs extends _DOMTypeJs implements AudioContext native "*AudioC
|
|
|
| _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;
|
| @@ -1352,6 +1356,8 @@ class _DOMWindowJs extends _EventTargetJs implements DOMWindow native "@*DOMWind
|
|
|
| _DOMWindowJs open(String url, String name, [String options = null]) native;
|
|
|
| + _DatabaseJs openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback = null]) native;
|
| +
|
| void postMessage(Dynamic message, String targetOrigin, [List messagePorts = null]) native;
|
|
|
| void print() native;
|
| @@ -1810,6 +1816,8 @@ class _ElementJs extends _NodeJs implements Element native "*Element" {
|
|
|
| final int clientWidth;
|
|
|
| + final Map<String, String> dataset;
|
| +
|
| final _ElementJs firstElementChild;
|
|
|
| final _ElementJs lastElementChild;
|
| @@ -5581,6 +5589,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;
|
| @@ -10301,6 +10330,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;
|
| @@ -11108,6 +11140,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;
|
| @@ -11244,6 +11278,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" {
|
| }
|
|
|
| @@ -11587,6 +11630,10 @@ class _WorkerContextJs extends _DOMTypeJs implements WorkerContext native "*Work
|
|
|
| void importScripts() native;
|
|
|
| + _DatabaseJs openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback = null]) native;
|
| +
|
| + _DatabaseSyncJs openDatabaseSync(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback = null]) native;
|
| +
|
| void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
|
|
|
| int setInterval(TimeoutHandler handler, int timeout) native;
|
| @@ -12241,10 +12288,14 @@ interface AudioContext default _AudioContextFactoryProvider {
|
|
|
| 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();
|
| @@ -13681,6 +13732,8 @@ interface Window extends EventTarget {
|
|
|
| DOMWindow open(String url, String name, [String options]);
|
|
|
| + Database openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]);
|
| +
|
| void postMessage(Dynamic message, String targetOrigin, [List messagePorts]);
|
|
|
| void print();
|
| @@ -14252,6 +14305,8 @@ interface Element extends Node, NodeSelector, ElementTraversal {
|
|
|
| final int clientWidth;
|
|
|
| + final Map<String, String> dataset;
|
| +
|
| final Element firstElementChild;
|
|
|
| final Element lastElementChild;
|
| @@ -18214,6 +18269,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;
|
| @@ -22235,6 +22316,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;
|
| @@ -23097,6 +23186,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);
|
| @@ -23243,6 +23334,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
|
| @@ -23687,6 +23792,10 @@ interface WorkerGlobalScope {
|
|
|
| void importScripts();
|
|
|
| + Database openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]);
|
| +
|
| + DatabaseSync openDatabaseSync(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]);
|
| +
|
| void removeEventListener(String type, EventListener listener, [bool useCapture]);
|
|
|
| int setInterval(TimeoutHandler handler, int timeout);
|
|
|