| Index: lib/dom/dom.dart
|
| diff --git a/lib/dom/dom.dart b/lib/dom/dom.dart
|
| index 51be7abed13ca5ee607754575a9536b3294ebd7a..78b753d5a8389cec675b1964935761f25c8d17ec 100644
|
| --- a/lib/dom/dom.dart
|
| +++ b/lib/dom/dom.dart
|
| @@ -379,10 +379,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();
|
| @@ -1819,6 +1823,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();
|
| @@ -2390,6 +2396,8 @@ interface Element extends Node, NodeSelector, ElementTraversal {
|
|
|
| final int clientWidth;
|
|
|
| + final Map<String, String> dataset;
|
| +
|
| final Element firstElementChild;
|
|
|
| final Element lastElementChild;
|
| @@ -6352,6 +6360,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;
|
| @@ -10373,6 +10407,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;
|
| @@ -11235,6 +11277,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);
|
| @@ -11381,6 +11425,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
|
| @@ -11825,6 +11883,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);
|
|
|