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

Unified Diff: lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
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:
Download patch
« no previous file with comments | « lib/dom/frog/dom_frog.dart ('k') | lib/html/frog/html_frog.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/dartium/html_dartium.dart
diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
index ee95120b16e5b3c7270678b07ac052bede47bee4..0871c7216dbe4b5b0f6338c21fe444291b5796c8 100644
--- a/lib/html/dartium/html_dartium.dart
+++ b/lib/html/dartium/html_dartium.dart
@@ -222,14 +222,12 @@ _wrap(raw) {
case 'HashChangeEvent': return new _HashChangeEventImpl._wrap(domObject);
case 'HTMLHeadElement': return new _HeadElementImpl._wrap(domObject);
case 'HTMLHeadingElement': return new _HeadingElementImpl._wrap(domObject);
- case 'HighPass2FilterNode': return new _HighPass2FilterNodeImpl._wrap(domObject);
case 'History': return new _HistoryImpl._wrap(domObject);
case 'HTMLHtmlElement': return new _HtmlElementImpl._wrap(domObject);
case 'IDBAny': return new _IDBAnyImpl._wrap(domObject);
case 'IDBCursor': return new _IDBCursorImpl._wrap(domObject);
case 'IDBCursorWithValue': return new _IDBCursorWithValueImpl._wrap(domObject);
case 'IDBDatabase': return new _IDBDatabaseImpl._wrap(domObject);
- case 'IDBDatabaseError': return new _IDBDatabaseErrorImpl._wrap(domObject);
case 'IDBDatabaseException': return new _IDBDatabaseExceptionImpl._wrap(domObject);
case 'IDBFactory': return new _IDBFactoryImpl._wrap(domObject);
case 'IDBIndex': return new _IDBIndexImpl._wrap(domObject);
@@ -259,7 +257,6 @@ _wrap(raw) {
case 'MediaStream': return new _MediaStreamImpl._wrap(domObject);
case 'LocalMediaStream': return new _LocalMediaStreamImpl._wrap(domObject);
case 'Location': return new _LocationImpl._wrap(domObject);
- case 'LowPass2FilterNode': return new _LowPass2FilterNodeImpl._wrap(domObject);
case 'HTMLMapElement': return new _MapElementImpl._wrap(domObject);
case 'HTMLMarqueeElement': return new _MarqueeElementImpl._wrap(domObject);
case 'MediaController': return new _MediaControllerImpl._wrap(domObject);
@@ -282,7 +279,9 @@ _wrap(raw) {
case 'HTMLMeterElement': return new _MeterElementImpl._wrap(domObject);
case 'HTMLModElement': return new _ModElementImpl._wrap(domObject);
case 'MouseEvent': return new _MouseEventImpl._wrap(domObject);
+ case 'MutationCallback': return new _MutationCallbackImpl._wrap(domObject);
case 'MutationEvent': return new _MutationEventImpl._wrap(domObject);
+ case 'MutationRecord': return new _MutationRecordImpl._wrap(domObject);
case 'NamedNodeMap': return new _NamedNodeMapImpl._wrap(domObject);
case 'Navigator': return new _NavigatorImpl._wrap(domObject);
case 'NavigatorUserMediaError': return new _NavigatorUserMediaErrorImpl._wrap(domObject);
@@ -301,6 +300,7 @@ _wrap(raw) {
case 'OperationNotAllowedException': return new _OperationNotAllowedExceptionImpl._wrap(domObject);
case 'HTMLOptGroupElement': return new _OptGroupElementImpl._wrap(domObject);
case 'HTMLOptionElement': return new _OptionElementImpl._wrap(domObject);
+ case 'Oscillator': return new _OscillatorImpl._wrap(domObject);
case 'HTMLOutputElement': return new _OutputElementImpl._wrap(domObject);
case 'OverflowEvent': return new _OverflowEventImpl._wrap(domObject);
case 'PageTransitionEvent': return new _PageTransitionEventImpl._wrap(domObject);
@@ -541,6 +541,7 @@ _wrap(raw) {
case 'ValidityState': return new _ValidityStateImpl._wrap(domObject);
case 'HTMLVideoElement': return new _VideoElementImpl._wrap(domObject);
case 'WaveShaperNode': return new _WaveShaperNodeImpl._wrap(domObject);
+ case 'WaveTable': return new _WaveTableImpl._wrap(domObject);
case 'WebGLActiveInfo': return new _WebGLActiveInfoImpl._wrap(domObject);
case 'WebGLBuffer': return new _WebGLBufferImpl._wrap(domObject);
case 'WebGLCompressedTextureS3TC': return new _WebGLCompressedTextureS3TCImpl._wrap(domObject);
@@ -554,10 +555,12 @@ _wrap(raw) {
case 'WebGLRenderbuffer': return new _WebGLRenderbufferImpl._wrap(domObject);
case 'WebGLRenderingContext': return new _WebGLRenderingContextImpl._wrap(domObject);
case 'WebGLShader': return new _WebGLShaderImpl._wrap(domObject);
+ case 'WebGLShaderPrecisionFormat': return new _WebGLShaderPrecisionFormatImpl._wrap(domObject);
case 'WebGLTexture': return new _WebGLTextureImpl._wrap(domObject);
case 'WebGLUniformLocation': return new _WebGLUniformLocationImpl._wrap(domObject);
case 'WebGLVertexArrayObjectOES': return new _WebGLVertexArrayObjectOESImpl._wrap(domObject);
case 'WebKitCSSRegionRule': return new _WebKitCSSRegionRuleImpl._wrap(domObject);
+ case 'WebKitMutationObserver': return new _WebKitMutationObserverImpl._wrap(domObject);
case 'WebKitNamedFlow': return new _WebKitNamedFlowImpl._wrap(domObject);
case 'WebSocket': return new _WebSocketImpl._wrap(domObject);
case 'WheelEvent': return new _WheelEventImpl._wrap(domObject);
@@ -1033,22 +1036,18 @@ class _AudioContextImpl extends _DOMTypeBase implements AudioContext {
return _wrap(_ptr.createGainNode());
}
- HighPass2FilterNode createHighPass2Filter() {
- return _wrap(_ptr.createHighPass2Filter());
- }
-
JavaScriptAudioNode createJavaScriptNode(int bufferSize) {
return _wrap(_ptr.createJavaScriptNode(_unwrap(bufferSize)));
}
- LowPass2FilterNode createLowPass2Filter() {
- return _wrap(_ptr.createLowPass2Filter());
- }
-
MediaElementAudioSourceNode createMediaElementSource(MediaElement mediaElement) {
return _wrap(_ptr.createMediaElementSource(_unwrap(mediaElement)));
}
+ Oscillator createOscillator() {
+ return _wrap(_ptr.createOscillator());
+ }
+
AudioPannerNode createPanner() {
return _wrap(_ptr.createPanner());
}
@@ -1057,6 +1056,10 @@ class _AudioContextImpl extends _DOMTypeBase implements AudioContext {
return _wrap(_ptr.createWaveShaper());
}
+ WaveTable createWaveTable(Float32Array real, Float32Array imag) {
+ return _wrap(_ptr.createWaveTable(_unwrap(real), _unwrap(imag)));
+ }
+
void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallback, [AudioBufferCallback errorCallback = null]) {
if (errorCallback === null) {
_ptr.decodeAudioData(_unwrap(audioData), _unwrap(successCallback));
@@ -9068,6 +9071,10 @@ class _EventTargetImpl extends _DOMTypeBase implements EventTarget {
class _FieldSetElementImpl extends _ElementImpl implements FieldSetElement {
_FieldSetElementImpl._wrap(ptr) : super._wrap(ptr);
+ bool get disabled() => _wrap(_ptr.disabled);
+
+ void set disabled(bool value) { _ptr.disabled = _unwrap(value); }
+
FormElement get form() => _wrap(_ptr.form);
String get name() => _wrap(_ptr.name);
@@ -9957,14 +9964,6 @@ class _HeadingElementImpl extends _ElementImpl implements HeadingElement {
void set align(String value) { _ptr.align = _unwrap(value); }
}
-class _HighPass2FilterNodeImpl extends _AudioNodeImpl implements HighPass2FilterNode {
- _HighPass2FilterNodeImpl._wrap(ptr) : super._wrap(ptr);
-
- AudioParam get cutoff() => _wrap(_ptr.cutoff);
-
- AudioParam get resonance() => _wrap(_ptr.resonance);
-}
-
class _HistoryImpl extends _DOMTypeBase implements History {
_HistoryImpl._wrap(ptr) : super._wrap(ptr);
@@ -10135,18 +10134,6 @@ class _IDBDatabaseImpl extends _DOMTypeBase implements IDBDatabase {
}
}
-class _IDBDatabaseErrorImpl extends _DOMTypeBase implements IDBDatabaseError {
- _IDBDatabaseErrorImpl._wrap(ptr) : super._wrap(ptr);
-
- int get code() => _wrap(_ptr.code);
-
- void set code(int value) { _ptr.code = _unwrap(value); }
-
- String get message() => _wrap(_ptr.message);
-
- void set message(String value) { _ptr.message = _unwrap(value); }
-}
-
class _IDBDatabaseExceptionImpl extends _DOMTypeBase implements IDBDatabaseException {
_IDBDatabaseExceptionImpl._wrap(ptr) : super._wrap(ptr);
@@ -10551,6 +10538,10 @@ class _IFrameElementImpl extends _ElementImpl implements IFrameElement {
void set src(String value) { _ptr.src = _unwrap(value); }
+ String get srcdoc() => _wrap(_ptr.srcdoc);
+
+ void set srcdoc(String value) { _ptr.srcdoc = _unwrap(value); }
+
String get width() => _wrap(_ptr.width);
void set width(String value) { _ptr.width = _unwrap(value); }
@@ -11448,14 +11439,6 @@ class _LocationImpl extends _DOMTypeBase implements Location {
}
}
-class _LowPass2FilterNodeImpl extends _AudioNodeImpl implements LowPass2FilterNode {
- _LowPass2FilterNodeImpl._wrap(ptr) : super._wrap(ptr);
-
- AudioParam get cutoff() => _wrap(_ptr.cutoff);
-
- AudioParam get resonance() => _wrap(_ptr.resonance);
-}
-
class _MapElementImpl extends _ElementImpl implements MapElement {
_MapElementImpl._wrap(ptr) : super._wrap(ptr);
@@ -12193,6 +12176,10 @@ class _MouseEventImpl extends _UIEventImpl implements MouseEvent {
}
}
+class _MutationCallbackImpl extends _DOMTypeBase implements MutationCallback {
+ _MutationCallbackImpl._wrap(ptr) : super._wrap(ptr);
+}
+
class _MutationEventImpl extends _EventImpl implements MutationEvent {
_MutationEventImpl._wrap(ptr) : super._wrap(ptr);
@@ -12212,6 +12199,28 @@ class _MutationEventImpl extends _EventImpl implements MutationEvent {
}
}
+class _MutationRecordImpl extends _DOMTypeBase implements MutationRecord {
+ _MutationRecordImpl._wrap(ptr) : super._wrap(ptr);
+
+ NodeList get addedNodes() => _wrap(_ptr.addedNodes);
+
+ String get attributeName() => _wrap(_ptr.attributeName);
+
+ String get attributeNamespace() => _wrap(_ptr.attributeNamespace);
+
+ Node get nextSibling() => _wrap(_ptr.nextSibling);
+
+ String get oldValue() => _wrap(_ptr.oldValue);
+
+ Node get previousSibling() => _wrap(_ptr.previousSibling);
+
+ NodeList get removedNodes() => _wrap(_ptr.removedNodes);
+
+ Node get target() => _wrap(_ptr.target);
+
+ String get type() => _wrap(_ptr.type);
+}
+
class _NamedNodeMapImpl extends _DOMTypeBase implements NamedNodeMap {
_NamedNodeMapImpl._wrap(ptr) : super._wrap(ptr);
@@ -12831,12 +12840,12 @@ class _NotificationImpl extends _EventTargetImpl implements Notification {
void set dir(String value) { _ptr.dir = _unwrap(value); }
- String get replaceId() => _wrap(_ptr.replaceId);
+ String get tag() => _wrap(_ptr.tag);
- void set replaceId(String value) { _ptr.replaceId = _unwrap(value); }
+ void set tag(String value) { _ptr.tag = _unwrap(value); }
- void cancel() {
- _ptr.cancel();
+ void close() {
+ _ptr.close();
return;
}
@@ -13076,6 +13085,23 @@ class _OptionElementImpl extends _ElementImpl implements OptionElement {
void set value(String value) { _ptr.value = _unwrap(value); }
}
+class _OscillatorImpl extends _AudioSourceNodeImpl implements Oscillator {
+ _OscillatorImpl._wrap(ptr) : super._wrap(ptr);
+
+ AudioParam get detune() => _wrap(_ptr.detune);
+
+ AudioParam get frequency() => _wrap(_ptr.frequency);
+
+ int get type() => _wrap(_ptr.type);
+
+ void set type(int value) { _ptr.type = _unwrap(value); }
+
+ void setWaveTable(WaveTable waveTable) {
+ _ptr.setWaveTable(_unwrap(waveTable));
+ return;
+ }
+}
+
class _OutputElementImpl extends _ElementImpl implements OutputElement {
_OutputElementImpl._wrap(ptr) : super._wrap(ptr);
@@ -19876,6 +19902,10 @@ class _WaveShaperNodeImpl extends _AudioNodeImpl implements WaveShaperNode {
void set curve(Float32Array value) { _ptr.curve = _unwrap(value); }
}
+class _WaveTableImpl extends _DOMTypeBase implements WaveTable {
+ _WaveTableImpl._wrap(ptr) : super._wrap(ptr);
+}
+
class _WebGLActiveInfoImpl extends _DOMTypeBase implements WebGLActiveInfo {
_WebGLActiveInfoImpl._wrap(ptr) : super._wrap(ptr);
@@ -20317,6 +20347,10 @@ class _WebGLRenderingContextImpl extends _CanvasRenderingContextImpl implements
return _wrap(_ptr.getShaderParameter(_unwrap(shader), _unwrap(pname)));
}
+ WebGLShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisiontype) {
+ return _wrap(_ptr.getShaderPrecisionFormat(_unwrap(shadertype), _unwrap(precisiontype)));
+ }
+
String getShaderSource(WebGLShader shader) {
return _wrap(_ptr.getShaderSource(_unwrap(shader)));
}
@@ -20724,6 +20758,16 @@ class _WebGLShaderImpl extends _DOMTypeBase implements WebGLShader {
_WebGLShaderImpl._wrap(ptr) : super._wrap(ptr);
}
+class _WebGLShaderPrecisionFormatImpl extends _DOMTypeBase implements WebGLShaderPrecisionFormat {
+ _WebGLShaderPrecisionFormatImpl._wrap(ptr) : super._wrap(ptr);
+
+ int get precision() => _wrap(_ptr.precision);
+
+ int get rangeMax() => _wrap(_ptr.rangeMax);
+
+ int get rangeMin() => _wrap(_ptr.rangeMin);
+}
+
class _WebGLTextureImpl extends _DOMTypeBase implements WebGLTexture {
_WebGLTextureImpl._wrap(ptr) : super._wrap(ptr);
}
@@ -20742,6 +20786,15 @@ class _WebKitCSSRegionRuleImpl extends _CSSRuleImpl implements WebKitCSSRegionRu
CSSRuleList get cssRules() => _wrap(_ptr.cssRules);
}
+class _WebKitMutationObserverImpl extends _DOMTypeBase implements WebKitMutationObserver {
+ _WebKitMutationObserverImpl._wrap(ptr) : super._wrap(ptr);
+
+ void disconnect() {
+ _ptr.disconnect();
+ return;
+ }
+}
+
class _WebKitNamedFlowImpl extends _DOMTypeBase implements WebKitNamedFlow {
_WebKitNamedFlowImpl._wrap(ptr) : super._wrap(ptr);
@@ -22554,18 +22607,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();
@@ -23185,6 +23238,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();
@@ -27311,6 +27370,8 @@ interface EventTarget {
interface FieldSetElement extends Element {
+ bool disabled;
+
final FormElement form;
String name;
@@ -27897,18 +27958,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;
@@ -28023,18 +28072,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;
@@ -28303,6 +28340,8 @@ interface IFrameElement extends Element {
String src;
+ String srcdoc;
+
String width;
SVGDocument getSVGDocument();
@@ -28797,18 +28836,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;
@@ -29373,6 +29400,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;
@@ -29399,6 +29434,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;
@@ -29703,9 +29764,9 @@ interface Notification extends EventTarget {
String dir;
- String replaceId;
+ String tag;
- void cancel();
+ void close();
void show();
}
@@ -29912,6 +29973,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;
@@ -34589,6 +34676,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;
@@ -35451,6 +35546,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);
@@ -35597,6 +35694,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
@@ -35631,6 +35742,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/dom/frog/dom_frog.dart ('k') | lib/html/frog/html_frog.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698