Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1272)

Unified Diff: lib/html/frog/html_frog.dart

Issue 9987001: Roll IDL forward to multivm@358 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Roll to 358 Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/html/dartium/html_dartium.dart ('k') | third_party/WebCore/Modules/battery/NavigatorBattery.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/frog/html_frog.dart
diff --git a/lib/html/frog/html_frog.dart b/lib/html/frog/html_frog.dart
index 434d0be671ec531f00e235e4158f8391a2b1f8ca..55089d2edf41e9c42d28592a9f538e15654a5aa9 100644
--- a/lib/html/frog/html_frog.dart
+++ b/lib/html/frog/html_frog.dart
@@ -307,18 +307,18 @@ class _AudioContextImpl implements AudioContext native "*AudioContext" {
_AudioGainNodeImpl createGainNode() native;
- _HighPass2FilterNodeImpl createHighPass2Filter() native;
-
_JavaScriptAudioNodeImpl createJavaScriptNode(int bufferSize) native;
- _LowPass2FilterNodeImpl createLowPass2Filter() native;
-
_MediaElementAudioSourceNodeImpl createMediaElementSource(_MediaElementImpl mediaElement) native;
+ _OscillatorImpl createOscillator() native;
+
_AudioPannerNodeImpl createPanner() native;
_WaveShaperNodeImpl createWaveShaper() native;
+ _WaveTableImpl createWaveTable(_Float32ArrayImpl real, _Float32ArrayImpl imag) native;
+
void decodeAudioData(_ArrayBufferImpl audioData, AudioBufferCallback successCallback, [AudioBufferCallback errorCallback = null]) native;
void startRendering() native;
@@ -784,6 +784,12 @@ class _CSSPrimitiveValueImpl extends _CSSValueImpl implements CSSPrimitiveValue
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;
_CounterImpl getCounterValue() native;
@@ -6601,6 +6607,8 @@ class _EventTargetImpl implements EventTarget native "*EventTarget" {
class _FieldSetElementImpl extends _ElementImpl implements FieldSetElement native "*HTMLFieldSetElement" {
+ bool disabled;
+
final _FormElementImpl form;
String name;
@@ -7267,13 +7275,6 @@ class _HeadingElementImpl extends _ElementImpl implements HeadingElement native
String align;
}
-class _HighPass2FilterNodeImpl extends _AudioNodeImpl implements HighPass2FilterNode native "*HighPass2FilterNode" {
-
- final _AudioParamImpl cutoff;
-
- final _AudioParamImpl resonance;
-}
-
class _HistoryImpl implements History native "*History" {
final int length;
@@ -7358,13 +7359,6 @@ class _IDBDatabaseImpl implements IDBDatabase native "*IDBDatabase" {
_IDBTransactionImpl transaction(var storeName_OR_storeNames, [int mode = null]) native;
}
-class _IDBDatabaseErrorImpl implements IDBDatabaseError native "*IDBDatabaseError" {
-
- int code;
-
- String message;
-}
-
class _IDBDatabaseExceptionImpl implements IDBDatabaseException native "*IDBDatabaseException" {
static final int ABORT_ERR = 8;
@@ -7583,6 +7577,8 @@ class _IFrameElementImpl extends _ElementImpl implements IFrameElement native "*
String src;
+ String srcdoc;
+
String width;
_SVGDocumentImpl getSVGDocument() native;
@@ -8202,13 +8198,6 @@ class _LocationImpl implements Location native "*Location" {
String toString() native;
}
-class _LowPass2FilterNodeImpl extends _AudioNodeImpl implements LowPass2FilterNode native "*LowPass2FilterNode" {
-
- final _AudioParamImpl cutoff;
-
- final _AudioParamImpl resonance;
-}
-
class _MapElementImpl extends _ElementImpl implements MapElement native "*HTMLMapElement" {
final _HTMLCollectionImpl areas;
@@ -8718,6 +8707,9 @@ class _MouseEventImpl extends _UIEventImpl implements MouseEvent native "*MouseE
void $dom_initMouseEvent(String type, bool canBubble, bool cancelable, _WindowImpl view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, int button, _EventTargetImpl relatedTarget) native "initMouseEvent";
}
+class _MutationCallbackImpl implements MutationCallback native "*MutationCallback" {
+}
+
class _MutationEventImpl extends _EventImpl implements MutationEvent native "*MutationEvent" {
static final int ADDITION = 2;
@@ -8739,6 +8731,27 @@ class _MutationEventImpl extends _EventImpl implements MutationEvent native "*Mu
void initMutationEvent(String type, bool canBubble, bool cancelable, _NodeImpl relatedNode, String prevValue, String newValue, String attrName, int attrChange) native;
}
+class _MutationRecordImpl implements MutationRecord native "*MutationRecord" {
+
+ final _NodeListImpl addedNodes;
+
+ final String attributeName;
+
+ final String attributeNamespace;
+
+ final _NodeImpl nextSibling;
+
+ final String oldValue;
+
+ final _NodeImpl previousSibling;
+
+ final _NodeListImpl removedNodes;
+
+ final _NodeImpl target;
+
+ final String type;
+}
+
class _NamedNodeMapImpl implements NamedNodeMap native "*NamedNodeMap" {
final int length;
@@ -9357,9 +9370,9 @@ class _NotificationImpl extends _EventTargetImpl implements Notification native
String dir;
- String replaceId;
+ String tag;
- void cancel() native;
+ void close() native;
void show() native;
}
@@ -9510,6 +9523,27 @@ class _OptionElementImpl extends _ElementImpl implements OptionElement native "*
String value;
}
+class _OscillatorImpl extends _AudioSourceNodeImpl 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 _AudioParamImpl detune;
+
+ final _AudioParamImpl frequency;
+
+ int type;
+
+ void setWaveTable(_WaveTableImpl waveTable) native;
+}
+
class _OutputElementImpl extends _ElementImpl implements OutputElement native "*HTMLOutputElement" {
String defaultValue;
@@ -14835,6 +14869,9 @@ class _WaveShaperNodeImpl extends _AudioNodeImpl implements WaveShaperNode nativ
_Float32ArrayImpl curve;
}
+class _WaveTableImpl implements WaveTable native "*WaveTable" {
+}
+
class _WebGLActiveInfoImpl implements WebGLActiveInfo native "*WebGLActiveInfo" {
final String name;
@@ -15642,6 +15679,8 @@ class _WebGLRenderingContextImpl extends _CanvasRenderingContextImpl implements
Object getShaderParameter(_WebGLShaderImpl shader, int pname) native;
+ _WebGLShaderPrecisionFormatImpl getShaderPrecisionFormat(int shadertype, int precisiontype) native;
+
String getShaderSource(_WebGLShaderImpl shader) native;
Object getTexParameter(int target, int pname) native;
@@ -15778,6 +15817,15 @@ class _WebGLRenderingContextImpl extends _CanvasRenderingContextImpl implements
class _WebGLShaderImpl implements WebGLShader native "*WebGLShader" {
}
+class _WebGLShaderPrecisionFormatImpl implements WebGLShaderPrecisionFormat native "*WebGLShaderPrecisionFormat" {
+
+ final int precision;
+
+ final int rangeMax;
+
+ final int rangeMin;
+}
+
class _WebGLTextureImpl implements WebGLTexture native "*WebGLTexture" {
}
@@ -15792,6 +15840,11 @@ class _WebKitCSSRegionRuleImpl extends _CSSRuleImpl implements WebKitCSSRegionRu
final _CSSRuleListImpl cssRules;
}
+class _WebKitMutationObserverImpl implements WebKitMutationObserver native "*WebKitMutationObserver" {
+
+ void disconnect() native;
+}
+
class _WebKitNamedFlowImpl implements WebKitNamedFlow native "*WebKitNamedFlow" {
final bool overflow;
@@ -17168,18 +17221,18 @@ interface AudioContext {
AudioGainNode createGainNode();
- HighPass2FilterNode createHighPass2Filter();
-
JavaScriptAudioNode createJavaScriptNode(int bufferSize);
- LowPass2FilterNode createLowPass2Filter();
-
MediaElementAudioSourceNode createMediaElementSource(MediaElement mediaElement);
+ Oscillator createOscillator();
+
AudioPannerNode createPanner();
WaveShaperNode createWaveShaper();
+ WaveTable createWaveTable(Float32Array real, Float32Array imag);
+
void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallback, [AudioBufferCallback errorCallback]);
void startRendering();
@@ -17799,6 +17852,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();
@@ -21925,6 +21984,8 @@ interface EventTarget {
interface FieldSetElement extends Element {
+ bool disabled;
+
final FormElement form;
String name;
@@ -22511,18 +22572,6 @@ interface HeadingElement extends Element {
// 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;
@@ -22637,18 +22686,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;
@@ -22917,6 +22954,8 @@ interface IFrameElement extends Element {
String src;
+ String srcdoc;
+
String width;
SVGDocument getSVGDocument();
@@ -23411,18 +23450,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 MapElement extends Element {
final HTMLCollection areas;
@@ -23987,6 +24014,14 @@ interface MouseEvent extends UIEvent default _MouseEventFactoryProvider {
// 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;
@@ -24013,6 +24048,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;
@@ -24317,9 +24378,9 @@ interface Notification extends EventTarget {
String dir;
- String replaceId;
+ String tag;
- void cancel();
+ void close();
void show();
}
@@ -24526,6 +24587,32 @@ interface OptionElement extends Element default _OptionElementFactoryProvider {
// 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 OutputElement extends Element {
String defaultValue;
@@ -29203,6 +29290,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;
@@ -30065,6 +30160,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);
@@ -30211,6 +30308,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
@@ -30245,6 +30356,16 @@ interface WebKitCSSRegionRule extends CSSRule {
// 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;
« no previous file with comments | « lib/html/dartium/html_dartium.dart ('k') | third_party/WebCore/Modules/battery/NavigatorBattery.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698